files_delete_file
Delete a file by its ID, moving it to trash or removing it permanently when permanent is set to true.
Instructions
Move a file to trash, or delete it permanently.
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": "files_delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File to delete. | |
| permanent | No | Delete permanently instead of trashing. |