db_delete_rows
Remove unwanted rows from a database table by specifying a table, a WHERE condition, and parameter values. Requires approval before deletion.
Instructions
Delete rows from a table matching a WHERE clause (requires approval)
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": {
"table": "<table>",
"where": "<where>",
"params": "<params>"
},
"name": "db_delete_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name to delete from | |
| where | Yes | WHERE clause (e.g., "last_login < $1") | |
| params | Yes | Parameter values for WHERE clause |