Use cases
How teams use ToolPause: an action-authorization control plane.
Agents propose side-effecting tool calls; policy decides allow / deny / require approval; humans clear bound calls in the Inbox (or Slack); audit records the lifecycle.
ToolPause authorizes whether the tool may execute — with fingerprint binding, fail-closed timeout, and optional edit-then-approve.
How to integrate
| Door | Use when | Entry point |
|---|---|---|
| SDK | You own the agent tools (Python / TypeScript) | @protected_tool / protectedTool |
| Framework adapters | LangChain, LangGraph, CrewAI, OpenAI Agents | SDK integrations |
| MCP | Claude Code and other MCP clients | toolpause-mcp or POST /v1/mcp/tools/call |
| HTTP API | Scripts, automation, custom gateways | /v1/evaluate → decide → /complete |
Humans always clear calls in the Web Inbox and/or Slack.
Agent / MCP client / script
│
SDK · MCP · HTTP /v1/evaluate
│
Policy → allow | deny | Inbox/Slack
│
Real system (payments, CRM, cloud, CMS…)
│
complete + audit
Example — ecommerce refunds
- Wrap
issue_refundwith the SDK (risk=high). - Policy: small amounts auto-allow; larger amounts require approval.
- Customer asks for a refund → agent calls the tool → money does not move yet.
- A human clears the bound call in Inbox (optionally edits the amount) → then the refund runs.
- Timeout fails closed. A runaway agent can be blocked with the kill switch.
Common scenarios
Outbound email
- Tool:
send_email(to, subject, body) - Policy: External recipients require approval
- Human: Edit body, then Approve
Production deploy
- Tool:
deploy(service, env, version) - Policy: Production requires on-call approval
- Human: Approve the exact version
Database write / migration
- Tool:
run_sql/apply_migration - Policy: Destructive SQL denied or escalated
- Human: Review the exact statement
CRM delete / merge
- Tool:
delete_contact/merge_accounts - Policy: Deletes always escalate
- Human: Confirm IDs in Inbox
Cloud infra change
- Tool:
resize_instance/open_security_group - Policy: Broad network opens denied or escalated
- Human: Security reviews args
Merge to main
- Tool:
merge_pr - Policy: Merge to
mainrequires approval - Human: Eng lead Approves
CMS / content publish
- Tool:
publish_to_cms(title, slug, body) - Policy: Publish requires marketing approval
- Human: Edit title/slug, then Approve
Vendor payout
- Tool:
pay_vendor(amount, vendor_id) - Policy: Over threshold → finance approval
- Human: Approve the bound amount
Identity / access grant
- Tool:
grant_role(user, role) - Policy: Admin roles always require approval
- Human: IT Approves; audit who granted what
PII data export
- Tool:
export_customers(format, filter) - Policy: Full PII export → privacy / legal
- Human: Approve the exact filter
Who uses what
| Role | Touches |
|---|---|
| Support / ops / marketing / finance / IT | Inbox + Slack Approve / Deny / Edit |
| Platform eng | SDK / MCP / API wiring, API keys |
| Security / risk | Policy, dry-run, kill switch, audit export |