delete_document
Remove a medical document from OncoFiles by moving it to trash for 30 days, where it remains recoverable but hidden from searches and listings.
Instructions
Soft-delete a document (moves to trash, recoverable for 30 days).
The document is hidden from all listings and searches but can be restored using restore_document. Files API copy is also deleted.
Args: file_id: The Anthropic Files API file_id to delete.
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": {
"file_id": "<file_id>"
},
"name": "delete_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |