delete_rows
Delete rows from a GaussDB table using parameterized WHERE conditions (AND-connected) to avoid full-table deletion. Specify table, where filters, and optional schema.
Instructions
参数化删除:指定表名与 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>",
"where": "<where>"
},
"name": "delete_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| where | Yes | 过滤条件,列=值,AND 连接,不能为空 | |
| schema | No | 可选 schema 名,缺省使用默认搜索路径(通常为 public) |