db_commit
Permanently executes an authorized SQL mutation using a valid single-use commit token obtained from a prior dry run.
Instructions
Permanently execute and commit a mutation previously authorized by 'db_dry_run'. Requires a valid, single-use commitToken.
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": {
"commitToken": "<commitToken>",
"sql": "<sql>"
},
"name": "db_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The exact SQL query that was dry-run and authorized. | |
| params | No | Optional parameterized query values. | |
| commitToken | Yes | The single-use authorization token obtained from 'db_dry_run'. |