Delete table rows
table_delete_rowsDelete up to 1000 rows by their own ids (rowIds), all of one table (rows of two tables are INVALID_INPUT). An id that names no row you can read is skipped. Workspace tables need why; expectedRevisions is optional and refuses (CONFLICT) a row that changed since.
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": {
"rowIds": "<rowIds>"
},
"name": "table_delete_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | Required for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters. | |
| rowIds | Yes | At most 1000 row ids, all of one table. An id that names no row is skipped. | |
| expectedRevisions | No | Optional, per row (keyed by an id of rowIds): refuse (CONFLICT) if that row changed since this revision or no longer exists. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes |