update_rows
Update rows in a GaussDB table by specifying column-value pairs for SET and WHERE, with required WHERE to prevent full-table updates; optional schema.
Instructions
参数化更新:指定表名、SET(列→新值)与 WHERE(列→值,AND 连接,必填防全表误更新),可选 schema
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>",
"set": "<set>",
"where": "<where>"
},
"name": "update_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | Yes | 要更新的列与新值 | |
| table | Yes | ||
| where | Yes | 过滤条件,列=值,AND 连接 | |
| schema | No | 可选 schema 名,缺省使用默认搜索路径(通常为 public) |