TOOL API

slide_set_text_property

Applies rich-text formatting (bold, italic, color, font size, and similar) to a character range inside a shape without changing the text itself; use it to style existing slide text. index and count are measured in UTF-16 code units, matching what slide_get_text returns, and only the fields you pass are changed. 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_set_text_property
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

baseline

基线偏移

bold

粗体

col

表格单元格列索引(0-based)。仅 TABLE 需要,必须与 row 成对出现

color

文字颜色

count

长度

file_id

文档ID,与 file_url 二选一

file_url

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

font_name

字体名称

font_size

字号

index

起始位置

italic

斜体

letter_spacing

字符间距

page_index

幻灯片页索引,从 0 开始

row

表格单元格行索引(0-based)。仅 TABLE 需要,必须与 col 成对出现

shape_id

shape ID

strikethrough

删除线

underline

下划线