delete_rows
Remove rows from a workspace database by specifying file-path IDs or matching criteria, so you can clean up or archive records without manual editing.
Instructions
Delete rows by ID (file path) or matching criteria.
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": {
"workspace": "<workspace>",
"databasePath": "<databasePath>"
},
"name": "delete_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Row IDs (file paths) to delete | |
| where | No | Criteria to match rows for deletion (e.g., {"status": "Archived"}) | |
| workspace | Yes | Workspace path or name | |
| databasePath | Yes | Path to the database folder |