confirm_write
Approve or reject a previewed Bullhorn write by matching its operation ID and preview hash, ensuring changes commit only when the preview is still valid and authorized.
Instructions
Approve or reject a previewed write. The approver comes from BULLHORN_MCP_ACTOR.
The write runs only if the preview_hash matches, the preview has not expired or been used, the actor is allowed, the scope and setup gate still hold, and nothing previewed has changed (otherwise: refused, e.g. stale_preview).
Args: operation_id: The operation_id returned by the preview. preview_hash: The preview_hash returned by the preview. decision: "approve" or "reject".
Returns: JSON with the normalized write result (status committed, partially_committed, failed, failed_orphan, rejected or refused).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision | Yes | ||
| operation_id | Yes | ||
| preview_hash | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |