Delete a workspace file
delete_filePermanently delete one workspace file by file_id and free its storage. Existing download/reference URLs and the file in past run outputs stop working. This cannot be undone. Delete only when the user has authorised removal of that file. A file used by a pending run cannot be deleted yet. Repeating deletion of the same ID is safe.
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_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes |