db_update_rows
Update database rows that match a WHERE clause by setting column values, with parameters for safe target identification and automatic logging.
Instructions
Update rows in a table matching a WHERE clause (auto-approved, logged)
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>",
"data": "<data>",
"where": "<where>",
"params": "<params>"
},
"name": "db_update_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Column-value pairs to set | |
| table | Yes | Table name to update | |
| where | Yes | WHERE clause to identify rows (e.g., "id = $1") | |
| params | Yes | Parameter values for WHERE clause |