file_delete
Delete a file or empty directory from the workspace by providing a relative path. Actions are confined to the workspace root.
Instructions
Delete a file or empty directory in the workspace.
Access is strictly confined to the workspace root.
Args:
path: Relative path to the file or directory to delete.
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": "file_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |