Updated 22 Nov 2026: Correct mandatory persisted conversational agent claim: current official docs explicitly support application-supplied paused-turn history via withMessages.

Key details

  1. Approvable tools require approval by default and can decide dynamically from tool-call arguments whether approval is necessary.
  2. Pending approvals expose a call ID, tool name, arguments and approval reason before execution.
  3. A decision can approve, reject or edit tool arguments before execution.
  4. Every pending call must receive a decision unless the application applies an explicit default for the remainder.
  5. Approval works with prompt, stream, queue and broadcast execution paths.
  6. The paused turn must have resumable history, either through a conversational agent or explicit withMessages history.

What builders should take away

  1. Use framework-level approval for destructive, financial, permission-changing or externally visible tools instead of relying on a model to ask for confirmation in natural language.
  2. Authorize the human reviewer against the persisted conversation and resource being changed; approval UI is not a substitute for application permissions.
  3. Store and display tool arguments and the reason alongside each approval request so reviewers know exactly what they are authorizing.
  4. Treat approval IDs as one-time execution tokens: reject stale or mismatched decisions and avoid replaying a decision after a tool has already run.
  5. Test paused and resumed flows in queued and streaming paths, including failures after an approved tool has executed but before the model finishes.

What changed

Laravel’s current AI SDK documentation includes a complete human tool-approval flow for conversational agents. A tool can implement the `Approvable` contract and use `InteractsWithApprovals`; approval can be unconditional or decided from the tool-call arguments. When approval is required, the agent pauses before execution and exposes the tool name, arguments and reason. The application can then resume the persisted conversation with decisions to approve, reject or edit tool-call arguments. Current documentation also permits applications to supply paused-turn history explicitly via withMessages rather than relying solely on SDK-managed persistence.

Why it matters

Approval gates are one of the practical differences between demo agents and agents allowed to touch files, customer records, infrastructure or other irreversible systems. Laravel developers no longer need to design the pause/resume protocol, tool-call identity checks and persistence semantics from scratch. The SDK also makes an important boundary explicit: approval depends on accessible paused-turn history, so builders need to treat conversation state as part of the execution system rather than merely chat history.

Approval is part of the tool contract

Laravel makes an individual tool approvable by implementing a contract rather than by wrapping the entire agent in a generic confirmation prompt. The tool can decide from its arguments whether approval is needed and can provide a reason, which lets applications distinguish low-risk calls from destructive or sensitive ones.

The agent pauses and resumes the same conversation

When an approvable tool is selected, Laravel does not execute it first and ask afterward. The response contains pending approvals and the agent pauses. The application resumes the persisted conversation with a decision for each call. Laravel validates call IDs and can reject unknown, missing or already-resolved decisions, reducing the risk of applying a stale approval to the wrong action.

The flow works across streaming and queues

Laravel documents approval support for normal prompts, streams, queues and broadcasts. Streaming emits a tool-approval request event; queued agents surface the paused response through callbacks and dispatch approval events. That makes the mechanism usable in asynchronous application architecture rather than only a synchronous chat screen.

Resumable history is a real requirement

The paused turn's history must be available on resume. Current Laravel documentation permits either a conversational agent or application-supplied history through withMessages; without either, an ApprovalNotResumableException is thrown. Applications must still authorize access to the conversation and protect the integrity of supplied history.

What to watch next

  • Whether Laravel adds richer policy primitives such as role-based approval routing, timeouts or multi-approver requirements.
  • How the SDK evolves persistence and cleanup for long-running approval queues.
  • Whether framework packages and common Laravel integrations begin exposing approvable tools by default.

Still unclear

  • The current documentation clearly defines the behavior, but the search surfaced less independent production evidence about how teams are using the approval flow at scale.
  • Approval protects the execution point only when developers mark the relevant tools approvable and keep underlying application permissions appropriately narrow.

Sources

Direct reading behind this dossier.

3 sources
Laravel AI SDK
Laravel official documentation

Primary documentation for the Human Tool Approval contract, pause/resume flow, decision semantics, streaming/queue support and persistence requirement.

Discussion

Discussion is reader-contributed. Comments are not part of the BTN dossier or its editorial evidence.

0 visible comments

Join the discussion

Keep comments useful and relevant. Reader contributions may be moderated and are not BTN editorial evidence.

Sign in to comment