Delete a project or folder
delete_projectPermanently delete a folder or whole project: move folder contents to a chosen destination, delete owned slates, return others to their owners, and preview changes before saving.
Instructions
Delete a folder, or a whole project the person owns (its owner's slates are deleted; everyone else's go back to them). This cannot be undone.
Delete project. Delete a folder, or a whole project. A folder that holds slates or folders moves them to moveContentsTo (its parent by default) first; a manager deletes only empty folders, the owner any. Deleting a project (its owner only) deletes the slates its owner owns in it, with their sharing and comments, and gives every other slate back to its owner. This cannot be undone. mode "preview" says how many slates would be deleted and given back without changing anything.
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": {
"projectId": "<projectId>"
},
"name": "delete_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. | save |
| confirm | No | The confirmation id from a confirmation_required result, once the person agreed. | |
| projectId | Yes | A project (a drive) or one of its folders. | |
| idempotencyKey | No | Send with confirm: the idempotencyKey from the confirmation_required result. | |
| moveContentsTo | No | For a folder: where its slates and folders go (its parent by default). |