db_execute
Run write statements such as INSERT, UPDATE, or DELETE on a writable database connection and return the number of affected rows.
Instructions
Run a write statement on a writable connection (read_only=false). Returns affected_rows.
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": {
"connection_id": "<connection_id>",
"sql": "<sql>"
},
"name": "db_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| params | No | ||
| connection_id | Yes |