db_insert
Inserts a single row into an allowed database table. Use it to add records by specifying the target table and a row object of column values.
Instructions
Insert one row into an allowed 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": {
"table": "<table>",
"data": "<data>"
},
"name": "db_insert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Row object, e.g. {"name": "Tom", "age": 18} | |
| table | Yes | Target table name (must be allowed). |