The Wire · Showcase
LARAVEL AI GETS SMART TOOL ROUTING AND DYNAMIC NAMING
By RepoJournal · Filed · About Laravel
The AI toolkit shipped three critical upgrades that fix how tools declare themselves to providers and how agents control text generation behavior.
Laravel AI landed back-to-back wins on the tool system. The first [1] lets tools declare their own name dynamically instead of collapsing to class basename — this fixes a real problem where adapter-style tools (single class, many targets) all looked identical to providers and couldn't be routed correctly. That's shipped. Meanwhile, assistant message mapping got enhanced [2] with new tool call attribute support, tested against GPT-5.3-Codex on Azure. The third piece [3] adds nucleus sampling control via a new `TopP` attribute for agents, giving you an alternative to temperature-only tuning — this landed alongside integration into the Prism request builder. On the image front [4], Gemini now passes through any aspect ratio you throw at it instead of silently dropping unsupported ratios, making the API consistent with the existing `size()` method. Separately, Vapor Core shipped a critical fix [5] that unblocks Laravel 13 support by opening Symfony 8 component constraints — fresh installs were failing on `composer require` before this landed. The surveyor precision tool hit v0.1.10 [7] with a fix [6] for inline variable assignments inside arrays, which downstream code in Ranger and Wayfinder now expects to resolve correctly. Framework got a quiet win too [8] — PHPStan can now infer pivot types when you pass the pivot model directly to belongs-to-many relations.
Action items
- → Update Laravel AI if you're using tools with dynamic routing or Gemini image generation laravel/ai [plan]
- → Update Vapor Core to unblock Laravel 13 projects laravel/vapor-core [plan]
- → Bump surveyor to v0.1.10 if Ranger or Wayfinder depend on it laravel/surveyor [monitor]
References
- [1] Allow tools to declare their name dynamically
- [2] Enhance assistant message mapping and tool call attributes
- [3] Add top_p configuration option for text generation
- [4] Pass through provider specific Gemini image aspect ratios
- [5] Allow Symfony 8 components for Laravel 13 support
- [6] Handle inline variable assignments inside arrays
- [7] Surveyor v0.1.10 release
- [8] PHPStan pivot type inference for belongs-to-many
FAQ
- What changed in Laravel on May 1, 2026?
- The AI toolkit shipped three critical upgrades that fix how tools declare themselves to providers and how agents control text generation behavior.
- What should Laravel teams do about it?
- Update Laravel AI if you're using tools with dynamic routing or Gemini image generation • Update Vapor Core to unblock Laravel 13 projects • Bump surveyor to v0.1.10 if Ranger or Wayfinder depend on it