TOOL API
doc. modify_ paragraph
Modifies properties of existing paragraphs in a Tencent Docs document, such as alignment, line spacing, paragraph spacing, style, indentation, block quotes and numbering. Use insert_tasks_with_content to add new task items and insert_paragraph to add new list items instead. Call resolve_document_structure first to get the document structure and correct position indexes. Only pass the fields you want to change; unset fields keep their current values. indent, block_quote, numbering and highlight_block are standalone operations and cannot be combined with other properties in the same call. 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.
Call information
- Tool slug
- tencent-docs.doc.modify_paragraph
- Provider
- Tencent Docs
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
block_quote设置引用
file_id在线文档DOC的文档唯一标识符(与file_url二选一)
file_url腾讯文档的URL链接(推荐),与file_id二选一
first_line_indent首行缩进(磅pt),传0或负值取消。与first_line_indent_chars二选一,chars优先
first_line_indent_chars首行缩进(字符数),传0或负值取消。与first_line_indent二选一,本参数优先
has_block_quote是否显式设置引用
has_first_line_indent是否显式设置first_line_indent
has_first_line_indent_chars是否显式设置first_line_indent_chars
has_line_spacing是否显式设置行间距
has_spacing_after是否显式设置段后间距
has_spacing_before是否显式设置段前间距
highlight_block高亮块操作
indent缩进操作:increase/decrease
jc对齐方式:left/center/right/both/distribute
line_spacing行间距数值
line_spacing_rule行间距规则:1=auto,2=exact,3=atLeast
numbering编号类型:bullet/decimal/task/none
numbering_level编号级别(1-9)
p_style段落样式名称
rangesrequired段落范围列表
spacing_after段后间距(磅)
spacing_before段前间距(磅)
version_info版本参数