db_write
Execute a single INSERT, UPDATE, or DELETE statement on your database. Requires a separate write grant and refuses DDL or multi-statement input, returning approval status and rows affected.
Instructions
Execute a single INSERT/UPDATE/DELETE (read/write governed separately from db_read). Refused by default: a write runs only when the identity has a write grant AND the deployment enabled writes. DDL and multi-statement input are never executed. Returns {approved, target, rows_affected, refusal, sql}; a governance plane records the result.
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": {
"sql": "<sql>"
},
"name": "db_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes |