repo_delete_file
Delete a file from the project workspace by specifying its relative path. Optionally set a custom workspace root to target another directory.
Instructions
Safely deletes a file within the project workspace.
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": {
"filePath": "<filePath>"
},
"name": "repo_delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Relative path to the file within the repository | |
| workspaceRoot | No | Optional custom workspace root directory |