Run a prepared write query
helix_execute_write_queryRun the write query helix_prepare_write_query prepared: the same database and query_json, with its confirmation. A confirmation runs once, and the query is never retried.
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": {
"database": "<database>",
"query_json": "<query_json>",
"confirmation_id": "<confirmation_id>",
"confirmation_token": "<confirmation_token>"
},
"name": "helix_execute_write_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | The database helix_prepare_write_query prepared. | |
| query_json | Yes | The query_json helix_prepare_write_query prepared, byte for byte. | |
| confirmation_id | Yes | The confirmation_id helix_prepare_write_query returned. | |
| confirmation_token | Yes | The confirmation_token helix_prepare_write_query returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | ||
| response | Yes | Untrusted gateway response JSON value. | |
| status_code | Yes | ||
| content_type | No | ||
| content_trust | Yes |