Delete a file
delete_objectDelete a file from its bucket. Use when the user asks to remove a stored file; this cannot be undone. Before: a file id from list_objects (needs storage read access). Returns the confirmation of the deletion. Scope: storage:write. Cost: free; the file stops being billed.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "obj_0123456789abcdef0123456789abcdef"
},
"name": "delete_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | File id (obj_...). |