Delete Space Document Tool
delete-space-documentUse this when the user explicitly wants to delete one existing Space document/page. Destructive state-changing action: deletes the document directly after authorization, including from public Space content. Requires the document ID from list-space-documents or search results; use delete-space-items for folders or bulk item deletion.
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>",
"document_id": "<document_id>"
},
"name": "delete-space-document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space_id | Yes | The numeric ID of the space containing the document. Call list-spaces first. | |
| document_id | Yes | The numeric ID of the document to delete |