restore_folder
Undo a folder deletion by restoring the folder from the trash using its ID. Errors if the folder is not in the trash.
Instructions
Restore a trashed folder, undoing delete_folder. Only takes the folder out of the trash — it never rolls it back to an older revision. Reports an error if the folder is not in the trash.
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": {
"id": "<id>"
},
"name": "restore_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the trashed folder. |