copy_nodes
Copy files or folders recursively into a destination folder or root. Deduplicated, all-or-nothing, and returns the new nodes; requires files:write.
Instructions
Copy one or more files or folders (folders recursively) into a destination folder (target_folder_id or target_path; omit both for the root). Content is deduplicated, so no bytes are re-uploaded, but copies count toward the user's quota and fail with QUOTA_EXCEEDED when it would be exceeded. All-or-nothing; returns the new nodes. For per-item results or a dry-run preview, use batch_nodes. Requires files:write; pass idempotency_key to make retries safe.
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_ids": "<node_ids>"
},
"name": "copy_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_ids | Yes | node UUIDs to process | |
| target_path | No | absolute destination folder path instead of target_folder_id | |
| idempotency_key | No | stable retry key, maximum 128 bytes | |
| target_folder_id | No | destination folder UUID; omit for root |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes |