delete_document
Remove documents from an AnythingLLM workspace to manage content and maintain organization by specifying workspace and document identifiers.
Instructions
Delete a document from a workspace
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": {
"slug": "<slug>",
"documentId": "<documentId>"
},
"name": "delete_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The workspace slug/identifier | |
| documentId | Yes | The document ID to delete |