Define a Tool
createTool() provides an equivalent function-based constructor. The tool() helper can infer a schema from examples.
Execute Tools Automatically
Execute a Parsed Call
executeParallel() runs multiple independent tool calls concurrently.
Provider Formats
Validation and Tool Cascading
The core package also exports:ToolValidatorfor quality and completeness checks.ToolCallDetectorfor detecting tool intent.ToolCascadeRouterfor model and risk-tier selection.ToolCascadeValidatorfor validating generated tool calls.ToolCascadefor the combined tool cascade pipeline.