delete_document
Permanently delete a FastOCR document and its stored original, text, and searchable PDF files. Processing documents cannot be deleted; local files remain untouched.
Instructions
Permanently delete a FastOCR document and its stored files (original, text, searchable PDF).
A document that is still processing cannot be deleted. Local files are not touched.
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": {
"document_id": "<document_id>"
},
"name": "delete_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | The document id returned by ocr_file or list_documents. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |