ToolPause
Docs Product Open Inbox

Bound refund demo

Use this to verify ToolPause binds approval to the exact tool call — not a freeform chat reply.

What you prove

Claim Evidence
Gate is on the tool call Agent hits /v1/evaluate → Inbox
Decision is bound to exact args Tampered amount fails /complete
Fail-closed Deny / timeout → no execute
Audit trail Activity tab or /v1/audit

Run locally

# terminal 1
toolpause-server

# terminal 2 — Approve in http://127.0.0.1:8000/
python examples/bakeoff_refund.py

# or non-interactive smoke
python examples/bakeoff_refund.py --auto-approve

With auth on:

python examples/bakeoff_refund.py --api-key "$ACTIONGATE_API_KEY"

Walkthrough

  1. Agent proposes a $189 refund for order NW-8812.
  2. The call pauses; Inbox shows the bound args.
  3. Edit to $89 and Approve → fingerprint updates; the agent must complete with $89.
  4. Completing with the old $189 fails — that is the product.

See also: quickstart · security

ToolPause docs Marketing · Inbox