insert_rows
Insert multiple rows into a specified table using parameterized batch inserts, with optional schema selection.
Instructions
参数化批量插入:指定表名与行数组(对象数组,键为列名),可选 schema(缺省 public)
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>",
"rows": "<rows>"
},
"name": "insert_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | 要插入的行,对象数组,所有行结构一致 | |
| table | Yes | 目标表名 | |
| schema | No | 可选 schema 名,缺省使用默认搜索路径(通常为 public) |