Skip to content
Free since 2014. Built for the engineers who keep things running.

cat /articles/test-tool-approval-flows-in-the-laravel-ai-sdk.md

Laravel

Test Tool Approval Flows in the Laravel AI SDK

Version 1.4 of the Laravel AI SDK lets Agent::fake() pick up paused tool approvals, so developers can exercise approve, reject, and edit decisions in tests without reaching a model provider.

Laravel News01 Dec 2026 · 1 min read · summary

article --summary

The summary

The article covers a feature in Laravel AI SDK 1.4 that allows Agent::fake() to resume tool calls that were paused awaiting approval. Readers learn how this makes it possible to test the three possible responses to a paused tool call, namely approving it, rejecting it, or editing it, while skipping any real calls to an AI provider.

Editorial note: This is a summary of an article first published by Laravel News. The full piece is on their site.

Reading now

Topic
Laravel
Source
Laravel News
Published
01 Dec 2026
Format
Curated summary

Have a take on this?

Write it up and submit it. It goes on the list once an editor approves it.

Submit an article

articles --latest

Latest articles

New from the blogs we follow and the community.

All articles

newsletter --weekly

LaraChat Weekly, minus the noise.

The best reads, new jobs and upcoming events, in one email a week.