Expand description
Tool/function calling types. Tool/function calling types for LLM APIs.
Provides the core types for defining tools, making tool calls, and returning results — compatible with OpenAI and Anthropic function calling APIs.
Structs§
- Tool
Call - A tool call requested by the LLM during generation.
- Tool
Definition - Definition of a tool/function that an LLM can invoke.
- Tool
Result - Result of executing a tool call, to be sent back to the LLM.