batch_nodes
Move, copy, trash, or restore up to 100 nodes with independent per-item results, plus dry-run simulation and idempotency keys for safe retries.
Instructions
Move, copy, trash, or restore up to 100 nodes with individual success/error results. Unlike move_nodes, copy_nodes, trash_nodes and restore_nodes, which are all-or-nothing, each item here succeeds or fails on its own. dry_run simulates then rolls back; preview IDs are not usable. idempotency_key replays the original entire result; use a new key to retry failed items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | absolute source paths; use IDs from list_trash for restore | |
| dry_run | No | validate and simulate the entire batch then roll back; preview IDs are not usable | |
| node_ids | No | source node UUIDs; do not combine with paths; maximum 100 | |
| operation | Yes | move, copy, trash, or restore | |
| target_path | No | destination path instead of target_folder_id | |
| idempotency_key | No | stable retry key; retries replay all per-item results, including failures | |
| target_folder_id | No | destination for move/copy; omit for root |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| failed | Yes | ||
| dry_run | Yes | ||
| succeeded | Yes |