move_nodes
Move files or folders into a destination folder or the root, with all-or-nothing safety: if any item conflicts or creates a cycle, nothing moves.
Instructions
Move one or more files or folders into a destination folder (target_folder_id or target_path; omit both for the root). All-or-nothing: if any item fails (NAME_CONFLICT when the destination already has that name, CYCLIC_MOVE when a folder would move into itself), nothing is moved. Returns the moved nodes. For per-item results or a dry-run preview, use batch_nodes. Requires files:write; pass idempotency_key to make retries safe.
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 |