Agent Properties
Configure tool behavior using these properties in your agent class:Tool Choice
Control how the LLM selects and uses tools for each request.Available Modes
Runtime Methods
forceTool() requires the tool’s name as a parameter, not the method or class name.Parallel Tool Calls
When enabled, the LLM can request multiple tool calls in a single response, which LarAgent executes together before continuing.Runtime Tool Management
Add or remove tools dynamically during execution.Adding Tools
Removing Tools
Conditional Tools
Register tools based on runtime conditions:Next Steps
Phantom Tools
Tools that return control to your application for external handling.
Attribute Tools
Create tools using the #[Tool] attribute.
Tool Classes & Inline
Build reusable tool classes or create tools dynamically.

