delete_document
Delete a workspace document. Recoverable from the recycle bin (a manager can restore it). This is a GOVERNED destructive operation: an org admin must enable it in Settings > Agents > Agent Policies (Governed operations) before a connected agent can run it; otherwise it is denied. You also need write access to the document.
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": {
"documentId": "<documentId>"
},
"name": "delete_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | WorkspaceDocument id to delete. |