delete_file_code
Delete a file or directory by specifying its path, with an option to recursively remove entire directories.
Instructions
Delete a file or directory
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_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path to the file or directory to delete | |
| recursive | No | Whether to delete directories recursively |