execute_update
Updates existing rows in a SQL Server table by setting new column values based on a WHERE clause, returning the number of affected rows.
Instructions
Update data in a table. Returns the number of affected rows.
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": {
"tableName": "<tableName>",
"data": "<data>",
"where": "<where>"
},
"name": "execute_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Object with column names as keys and new values | |
| where | Yes | Object with column names as keys and values for WHERE clause | |
| tableName | Yes | Name of the table to update |