delete_file
Remove a file inside the sandbox by providing its relative path. Deletes files only, leaving directories intact.
Instructions
Delete a file inside the sandbox.
Only deletes files (not directories)
Path must be relative to the sandbox root
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": {
"relative_path": "<relative_path>"
},
"name": "delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relative_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |