Skip to main content
Extra pauses local and MCP tool calls for approval by default. The tool does not run until a person chooses one of these actions:
  • Allow once — run this call and ask again next time.
  • Allow for session — run this call and allow the same tool for the session.
  • Deny — do not run the tool.

Configure approval behavior

The optional auto setting applies to every tool assigned to one agent:
Use auto: true only when every tool assigned to that agent is safe to run without review. It does not affect other agents.

Handle approvals through the API

POST /invoke includes three approval fields: Start a run with a stable session ID if you want to use Allow for session:
The relevant part of a paused response contains an empty answer and sanitized approval details:
Submit the decision with the returned run_id and approval_id:
Supported decisions are allow once, allow for this session, and deny. Extra continues the run and returns its next result. An invalid decision returns a validation error and does not run the tool.

Session approvals

Allow for session applies only to the same agent and exact tool when later requests use the same X-Session-Id. By default, approvals are stored in memory and are cleared when the application restarts.