restore_nodes
Restore one or more trashed items to their original folders by node ID; name conflicts are renamed instead of overwritten.
Instructions
Restore one or more items from the trash to their original folders, using IDs from list_trash. If an item with the same name now exists there, the restored item is renamed rather than overwriting it. Returns the restored nodes. All-or-nothing; for per-item results use batch_nodes. Requires files:delete; 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": "restore_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_ids | Yes | node UUIDs to process | |
| idempotency_key | No | stable retry key, maximum 128 bytes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes |