files_delete
Deletes one file or empty folder after confirmation; refuses non-empty folders and deletes nothing in that case.
Instructions
Delete one file, or one empty folder, on this computer (the file browser's Delete; the app confirms first).
Same limits as files_rename; a folder that isn't empty answers ``not_empty`` and nothing is deleted. SQL Editor
tabs that had the file open keep its text as unsaved.
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": "files_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | sql | |
| path | Yes | ||
| expected_modified | No |