Prepare a write query
helix_prepare_write_queryCheck a Helix v3 write query and return a one-time confirmation for exactly that query, valid for five minutes; helix_execute_write_query runs it. Preparing changes nothing.
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>"
},
"name": "helix_prepare_write_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | The database: tenant:<id> or cluster:<id>, as helix_list_databases or a Foundry ontology's database names it. | |
| query_json | Yes | The complete Helix v3 JSON request, as a string: request_type read or write, and query holding one batch of that kind. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expires_at | Yes | ||
| payload_hash | Yes | ||
| confirmation_id | Yes | ||
| confirmation_token | Yes |