Skip to main content

commit_action

The paired tool for confirm_action. Verifies that the user has explicitly confirmed a destructive action with a matching commit_token. Required gatekeeper before performing the destructive call. commit_action only succeeds when:
  • A matching confirm_action (same commit_token) was completed for this agent and subscriber
  • AND the user explicitly clicked Confirm (not Cancel)
  • AND the confirmation has not expired
Otherwise it returns a structured error and the destructive call must not happen.

Parameters

Returns

On success:
On refusal:

Call from your own custom tool

Notes

  • Always registered.
  • Cannot be bypassed by LLM narration — there is no path by which commit_action returns ok without server-side proof of consent.
  • Scoped to the calling subscriber (or owner in preview).