delete_file
Deletes a single file from the workspace using a relative path. Fails if the path does not exist or is a directory.
Instructions
Delete a single file inside the workspace.
Args: path: Path to the file to delete, relative to the workspace root.
Returns: The deleted path. Fails if the path does not exist or is a directory (use delete_directory for directories).
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 |