examples/tools/.
How to run
Pick a starting point
- Building your first typed tool?
tools_schema—SchemaBasedToolwith a typedParamsstruct. - Calling external services?
tools_stateful_httpshows the shared-client pattern. - No agent loop, just a DAG of calls?
tools_orchestrator.
See also
Tools guide
Tool, SchemaBasedTool, validators, ToolOrchestrator.
Production → Security
Deny-lists, SSRF protection, sandboxing.
Patterns → HITL approval
Approval-gated tool calls.