delete_file
Delete a file and all its variants from storage. Templates keep JSON but the linked image URL becomes inaccessible.
Instructions
Delete a file and all its variants from storage. Templates that still reference the URL keep their JSON intact but the linked image URL will return 404.
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": {
"fileId": "<fileId>"
},
"name": "delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | File id. |