delete_file
Permanently delete a file from the workspace using a path relative to the root. Requires explicit confirmation to prevent accidental data loss.
Instructions
Permanently delete a file inside the workspace.
Args: path: Path relative to the workspace root. confirm: Must be explicitly True; this is irreversible.
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 | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||