|  | @@ -0,0 +1,222 @@
 | 
	
		
			
				|  |  | +identity:
 | 
	
		
			
				|  |  | +  name: aliyuque_update_book_table_of_contents
 | 
	
		
			
				|  |  | +  author: 佐井
 | 
	
		
			
				|  |  | +  label:
 | 
	
		
			
				|  |  | +    en_US: Update Book's Table of Contents
 | 
	
		
			
				|  |  | +    zh_Hans: 更新知识库目录
 | 
	
		
			
				|  |  | +  icon: icon.svg
 | 
	
		
			
				|  |  | +description:
 | 
	
		
			
				|  |  | +  human:
 | 
	
		
			
				|  |  | +    en_US: Update Book's Table of Contents.
 | 
	
		
			
				|  |  | +    zh_Hans: 更新知识库目录。
 | 
	
		
			
				|  |  | +  llm: Update Book's Table of Contents.
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +parameters:
 | 
	
		
			
				|  |  | +  - name: book_id
 | 
	
		
			
				|  |  | +    type: number
 | 
	
		
			
				|  |  | +    required: true
 | 
	
		
			
				|  |  | +    form: llm
 | 
	
		
			
				|  |  | +    label:
 | 
	
		
			
				|  |  | +      en_US: Book ID
 | 
	
		
			
				|  |  | +      zh_Hans: 知识库 ID
 | 
	
		
			
				|  |  | +    human_description:
 | 
	
		
			
				|  |  | +      en_US: Book ID.
 | 
	
		
			
				|  |  | +      zh_Hans: 知识库 ID。
 | 
	
		
			
				|  |  | +    llm_description: Book ID.
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  - name: action
 | 
	
		
			
				|  |  | +    type: select
 | 
	
		
			
				|  |  | +    required: true
 | 
	
		
			
				|  |  | +    form: llm
 | 
	
		
			
				|  |  | +    options:
 | 
	
		
			
				|  |  | +      - value: appendNode
 | 
	
		
			
				|  |  | +        label:
 | 
	
		
			
				|  |  | +          en_US: appendNode
 | 
	
		
			
				|  |  | +          zh_Hans: appendNode
 | 
	
		
			
				|  |  | +          pt_BR: appendNode
 | 
	
		
			
				|  |  | +      - value: prependNode
 | 
	
		
			
				|  |  | +        label:
 | 
	
		
			
				|  |  | +          en_US: prependNode
 | 
	
		
			
				|  |  | +          zh_Hans: prependNode
 | 
	
		
			
				|  |  | +          pt_BR: prependNode
 | 
	
		
			
				|  |  | +      - value: editNode
 | 
	
		
			
				|  |  | +        label:
 | 
	
		
			
				|  |  | +          en_US: editNode
 | 
	
		
			
				|  |  | +          zh_Hans: editNode
 | 
	
		
			
				|  |  | +          pt_BR: editNode
 | 
	
		
			
				|  |  | +      - value: editNode
 | 
	
		
			
				|  |  | +        label:
 | 
	
		
			
				|  |  | +          en_US: removeNode
 | 
	
		
			
				|  |  | +          zh_Hans: removeNode
 | 
	
		
			
				|  |  | +          pt_BR: removeNode
 | 
	
		
			
				|  |  | +    label:
 | 
	
		
			
				|  |  | +      en_US: Action Type
 | 
	
		
			
				|  |  | +      zh_Hans: 操作
 | 
	
		
			
				|  |  | +    human_description:
 | 
	
		
			
				|  |  | +      en_US: In the operation scenario, sibling node prepending is not supported, deleting a node doesn't remove associated documents, and node deletion has two modes, 'sibling' (delete current node) and 'child' (delete current node and its children).
 | 
	
		
			
				|  |  | +      zh_Hans: 操作,创建场景下不支持同级头插 prependNode,删除节点不会删除关联文档,删除节点时action_mode=sibling (删除当前节点), action_mode=child (删除当前节点及子节点)
 | 
	
		
			
				|  |  | +    llm_description: In the operation scenario, sibling node prepending is not supported, deleting a node doesn't remove associated documents, and node deletion has two modes, 'sibling' (delete current node) and 'child' (delete current node and its children).
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  - name: action_mode
 | 
	
		
			
				|  |  | +    type: select
 | 
	
		
			
				|  |  | +    required: false
 | 
	
		
			
				|  |  | +    form: llm
 | 
	
		
			
				|  |  | +    options:
 | 
	
		
			
				|  |  | +      - value: sibling
 | 
	
		
			
				|  |  | +        label:
 | 
	
		
			
				|  |  | +          en_US: sibling
 | 
	
		
			
				|  |  | +          zh_Hans: 同级
 | 
	
		
			
				|  |  | +          pt_BR: sibling
 | 
	
		
			
				|  |  | +      - value: child
 | 
	
		
			
				|  |  | +        label:
 | 
	
		
			
				|  |  | +          en_US: child
 | 
	
		
			
				|  |  | +          zh_Hans: 子集
 | 
	
		
			
				|  |  | +          pt_BR: child
 | 
	
		
			
				|  |  | +    label:
 | 
	
		
			
				|  |  | +      en_US: Action Type
 | 
	
		
			
				|  |  | +      zh_Hans: 操作
 | 
	
		
			
				|  |  | +    human_description:
 | 
	
		
			
				|  |  | +      en_US: Operation mode (sibling:same level, child:child level).
 | 
	
		
			
				|  |  | +      zh_Hans: 操作模式 (sibling:同级, child:子级)。
 | 
	
		
			
				|  |  | +    llm_description: Operation mode (sibling:same level, child:child level).
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  - name: target_uuid
 | 
	
		
			
				|  |  | +    type: string
 | 
	
		
			
				|  |  | +    required: false
 | 
	
		
			
				|  |  | +    form: llm
 | 
	
		
			
				|  |  | +    label:
 | 
	
		
			
				|  |  | +      en_US: Target node UUID
 | 
	
		
			
				|  |  | +      zh_Hans: 目标节点 UUID
 | 
	
		
			
				|  |  | +    human_description:
 | 
	
		
			
				|  |  | +      en_US: Target node UUID, defaults to root node if left empty.
 | 
	
		
			
				|  |  | +      zh_Hans: 目标节点 UUID, 不填默认为根节点。
 | 
	
		
			
				|  |  | +    llm_description: Target node UUID, defaults to root node if left empty.
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  - name: node_uuid
 | 
	
		
			
				|  |  | +    type: string
 | 
	
		
			
				|  |  | +    required: false
 | 
	
		
			
				|  |  | +    form: llm
 | 
	
		
			
				|  |  | +    label:
 | 
	
		
			
				|  |  | +      en_US: Node UUID
 | 
	
		
			
				|  |  | +      zh_Hans: 操作节点 UUID
 | 
	
		
			
				|  |  | +    human_description:
 | 
	
		
			
				|  |  | +      en_US: Operation node UUID [required for move/update/delete].
 | 
	
		
			
				|  |  | +      zh_Hans: 操作节点 UUID [移动/更新/删除必填]。
 | 
	
		
			
				|  |  | +    llm_description: Operation node UUID [required for move/update/delete].
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  - name: doc_ids
 | 
	
		
			
				|  |  | +    type: string
 | 
	
		
			
				|  |  | +    required: false
 | 
	
		
			
				|  |  | +    form: llm
 | 
	
		
			
				|  |  | +    label:
 | 
	
		
			
				|  |  | +      en_US: Document IDs
 | 
	
		
			
				|  |  | +      zh_Hans: 文档id列表
 | 
	
		
			
				|  |  | +    human_description:
 | 
	
		
			
				|  |  | +      en_US: Document IDs [required for creating documents], separate multiple IDs with ','.
 | 
	
		
			
				|  |  | +      zh_Hans: 文档 IDs [创建文档必填],多个用','分隔。
 | 
	
		
			
				|  |  | +    llm_description: Document IDs [required for creating documents], separate multiple IDs with ','.
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  - name: type
 | 
	
		
			
				|  |  | +    type: select
 | 
	
		
			
				|  |  | +    required: false
 | 
	
		
			
				|  |  | +    form: llm
 | 
	
		
			
				|  |  | +    default: DOC
 | 
	
		
			
				|  |  | +    options:
 | 
	
		
			
				|  |  | +      - value: DOC
 | 
	
		
			
				|  |  | +        label:
 | 
	
		
			
				|  |  | +          en_US: DOC
 | 
	
		
			
				|  |  | +          zh_Hans: 文档
 | 
	
		
			
				|  |  | +          pt_BR: DOC
 | 
	
		
			
				|  |  | +      - value: LINK
 | 
	
		
			
				|  |  | +        label:
 | 
	
		
			
				|  |  | +          en_US: LINK
 | 
	
		
			
				|  |  | +          zh_Hans: 链接
 | 
	
		
			
				|  |  | +          pt_BR: LINK
 | 
	
		
			
				|  |  | +      - value: TITLE
 | 
	
		
			
				|  |  | +        label:
 | 
	
		
			
				|  |  | +          en_US: TITLE
 | 
	
		
			
				|  |  | +          zh_Hans: 分组
 | 
	
		
			
				|  |  | +          pt_BR: TITLE
 | 
	
		
			
				|  |  | +    label:
 | 
	
		
			
				|  |  | +      en_US: Node type
 | 
	
		
			
				|  |  | +      zh_Hans: 操节点类型
 | 
	
		
			
				|  |  | +    human_description:
 | 
	
		
			
				|  |  | +      en_US: Node type [required for creation] (DOC:document, LINK:external link, TITLE:group).
 | 
	
		
			
				|  |  | +      zh_Hans: 操节点类型 [创建必填] (DOC:文档, LINK:外链, TITLE:分组)。
 | 
	
		
			
				|  |  | +    llm_description: Node type [required for creation] (DOC:document, LINK:external link, TITLE:group).
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  - name: title
 | 
	
		
			
				|  |  | +    type: string
 | 
	
		
			
				|  |  | +    required: false
 | 
	
		
			
				|  |  | +    form: llm
 | 
	
		
			
				|  |  | +    label:
 | 
	
		
			
				|  |  | +      en_US: Node Name
 | 
	
		
			
				|  |  | +      zh_Hans: 节点名称
 | 
	
		
			
				|  |  | +    human_description:
 | 
	
		
			
				|  |  | +      en_US: Node name [required for creating groups/external links].
 | 
	
		
			
				|  |  | +      zh_Hans: 节点名称 [创建分组/外链必填]。
 | 
	
		
			
				|  |  | +    llm_description: Node name [required for creating groups/external links].
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  - name: url
 | 
	
		
			
				|  |  | +    type: string
 | 
	
		
			
				|  |  | +    required: false
 | 
	
		
			
				|  |  | +    form: llm
 | 
	
		
			
				|  |  | +    label:
 | 
	
		
			
				|  |  | +      en_US: Node URL
 | 
	
		
			
				|  |  | +      zh_Hans: 节点URL
 | 
	
		
			
				|  |  | +    human_description:
 | 
	
		
			
				|  |  | +      en_US: Node URL [required for creating external links].
 | 
	
		
			
				|  |  | +      zh_Hans: 节点 URL [创建外链必填]。
 | 
	
		
			
				|  |  | +    llm_description: Node URL [required for creating external links].
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  - name: open_window
 | 
	
		
			
				|  |  | +    type: select
 | 
	
		
			
				|  |  | +    required: false
 | 
	
		
			
				|  |  | +    form: llm
 | 
	
		
			
				|  |  | +    default: 0
 | 
	
		
			
				|  |  | +    options:
 | 
	
		
			
				|  |  | +      - value: 0
 | 
	
		
			
				|  |  | +        label:
 | 
	
		
			
				|  |  | +          en_US: DOC
 | 
	
		
			
				|  |  | +          zh_Hans: Current Page
 | 
	
		
			
				|  |  | +          pt_BR: DOC
 | 
	
		
			
				|  |  | +      - value: 1
 | 
	
		
			
				|  |  | +        label:
 | 
	
		
			
				|  |  | +          en_US: LINK
 | 
	
		
			
				|  |  | +          zh_Hans: New Page
 | 
	
		
			
				|  |  | +          pt_BR: LINK
 | 
	
		
			
				|  |  | +    label:
 | 
	
		
			
				|  |  | +      en_US: Open in new window
 | 
	
		
			
				|  |  | +      zh_Hans: 是否新窗口打开
 | 
	
		
			
				|  |  | +    human_description:
 | 
	
		
			
				|  |  | +      en_US: Open in new window [optional for external links] (0:open in current page, 1:open in new window).
 | 
	
		
			
				|  |  | +      zh_Hans: 是否新窗口打开 [外链选填] (0:当前页打开, 1:新窗口打开)。
 | 
	
		
			
				|  |  | +    llm_description: Open in new window [optional for external links] (0:open in current page, 1:open in new window).
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  - name: visible
 | 
	
		
			
				|  |  | +    type: select
 | 
	
		
			
				|  |  | +    required: false
 | 
	
		
			
				|  |  | +    form: llm
 | 
	
		
			
				|  |  | +    default: 1
 | 
	
		
			
				|  |  | +    options:
 | 
	
		
			
				|  |  | +      - value: 0
 | 
	
		
			
				|  |  | +        label:
 | 
	
		
			
				|  |  | +          en_US: Invisible
 | 
	
		
			
				|  |  | +          zh_Hans: 隐藏
 | 
	
		
			
				|  |  | +          pt_BR: Invisible
 | 
	
		
			
				|  |  | +      - value: 1
 | 
	
		
			
				|  |  | +        label:
 | 
	
		
			
				|  |  | +          en_US: Visible
 | 
	
		
			
				|  |  | +          zh_Hans: 可见
 | 
	
		
			
				|  |  | +          pt_BR: Visible
 | 
	
		
			
				|  |  | +    label:
 | 
	
		
			
				|  |  | +      en_US: Visibility
 | 
	
		
			
				|  |  | +      zh_Hans: 是否可见
 | 
	
		
			
				|  |  | +    human_description:
 | 
	
		
			
				|  |  | +      en_US: Visibility (0:invisible, 1:visible).
 | 
	
		
			
				|  |  | +      zh_Hans: 是否可见 (0:不可见, 1:可见)。
 | 
	
		
			
				|  |  | +    llm_description: Visibility (0:invisible, 1:visible).
 |