update
Modify rows in a MySQL table by passing the table name, key-value changes, and a WHERE condition.
Instructions
Update rows in a table
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>",
"condition": "<condition>"
},
"name": "update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Key-value pairs to update | |
| condition | Yes | WHERE clause condition (e.g., "id = 1") | |
| tableName | Yes | Name of the table |