Delete Path
delete_pathDeletes a file or empty directory at a specified relative or absolute path, enabling cleanup of project files and directories.
Instructions
Delete a file or an empty 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_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative or absolute path to the file/directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |