confirm_write
Commit a previewed Tally write by sending its previewId, so the exact XML built by preview_write is posted once and expired or reused IDs fail safely.
Instructions
Post a previously-built preview to Tally — this is the only tool that actually writes, when the batch went through preview_write first. Takes the previewId from a prior preview_write call and sends that exact XML, unchanged, to Tally. A previewId can only be confirmed once — reusing an already-confirmed or expired one fails rather than silently reposting or reusing stale data.
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": {
"previewId": "<previewId>"
},
"name": "confirm_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| previewId | Yes | The previewId returned by preview_write. |