delete_file
Permanently deletes a single file from the allowed folder, requiring explicit user approval before the action runs. Preview the deletion and wait for confirmation to keep destructive changes under human control.
Instructions
Permanently delete one file from the allowed folder.
DESTRUCTIVE: the user must approve before anything happens. Describe the action to the user and wait for their answer.
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": {
"path": "<path>"
},
"name": "delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File name relative to the allowed folder | |
| confirm_token | No | Only for clients without approval prompts: the one-time token from the preview step. Never invent one. |