Delete space
delete_spaceSend a space to Trash with everything in it: sub-spaces, chats, docs, rolls, files, pins and collections. It can be restored from Trash in the app for 30 days. This is refused until your human agrees: ask them, then call again with agreed: true. Only who made the space, or a workspace admin, can delete it. To keep the work, merge_space or move it first.
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": {
"space_id": "<space_id>"
},
"name": "delete_space"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agreed | No | true only once your human agreed to the delete the refusal named. | |
| space_id | Yes | A space id from list_spaces. |