Tools in the SDK
Tools extend an agent’s capabilities beyond text generation. The SDK provides structured ways to register, invoke, and manage these functions.
- Registering functions as tools — Declaring callable capabilities for an agent.
- How the SDK selects and invokes tools — Model-driven tool choice and execution.
- Handling tool results and errors — Processing outputs and managing failures.