工具 API

create_space_node

在空间树中创建新节点,支持创建文件夹、在线文档、链接等多种类型,可指定父节点和插入位置。 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 积分

调用信息

工具标识
tencent-docs.create_space_node
服务提供方
腾讯文档
平均响应
0 ms
近 7 天调用
0

输入参数

is_before

插入位置:true表示插入到父节点子列表的开头,false表示插入到末尾

link_node

链接节点配置信息,node_type为link时必填

node_type必填

节点类型:wiki_folder(文件夹)、wiki_tdoc(在线文档)、link(链接)

parent_node_id

父节点ID,为空或在根目录创建时可不传

space_id必填

空间id

title必填

节点标题,即文档或文件夹的显示名称

wiki_folder_node

文件夹节点配置信息,node_type为wiki_folder时必填

wiki_tdoc_node

在线文档节点配置信息,node_type为wiki_tdoc时必填