TOOL API

slide_add_line_shapes

Inserts multiple line shapes or directional arrow lines into the same slide in one call. Use this instead of slide_add_shapes when you need batched arrow lines between two points (line_type=arrow or doubleArrow), since slide_add_shapes only supports the rightArrow and leftArrow preset shape blocks; lines must contain at least one element. If both tencent-docs (personal) and tencent-docs-oa (enterprise) are connected, use AskUserQuestion to let the user pick the target account before invoking this tool.

productivityOAuth1 credits

Call information

Tool slug
tencent-docs.slide_add_line_shapes
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

file_id

文档ID,与 file_url 二选一

file_url

在线幻灯片URL,与 file_id 二选一

lines

待插入的线形列表(对象数组)。单元素字段:x1 / y1 / x2 / y2 / line_type / color / dash / width

page_index

目标幻灯片页索引,从 0 开始