yuque_web_batch_move_catalog_nodes
Moves multiple document nodes under a target catalog node in Yuque, including cross-repository moves, using a single batch request from a source knowledge base.
Instructions
Cookie-based: Batch move document nodes to a target catalog node. PUT /api/catalog_nodes/batch. Supports cross-repo move (target_book_id may differ from book_id). No membership required. Moves the specified node_uuids under the target_uuid directory as children. 详见 references/api/web_doc_api.md
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"node_uuids": "<node_uuids>",
"target_uuid": "<target_uuid>",
"book_id": "<book_id>"
},
"name": "yuque_web_batch_move_catalog_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes | 源知识库 ID(数字,必填)。节点当前所在的知识库。 / Source repository ID (numeric, required). The repo the nodes currently live in. | |
| node_uuids | Yes | Node UUIDs to move, as a string array or JSON-encoded string (required) | |
| target_uuid | Yes | Target catalog node UUID to move into (required) | |
| target_book_id | No | 目标知识库 ID(数字,可选)。跨库移动时填目标知识库 ID。缺省为 book_id(同库移动)。 / Target repository ID (numeric, optional). For cross-repo move set this to the destination repo. Defaults to book_id (same-repo move). |