models/tool library

Classes

FunctionCallDelta
Incremental function call data during streaming.
FunctionCallResult
Result of a function call (name + JSON arguments string).
FunctionDefinition
Definition of a function a tool wraps.
Tool
A tool/function the model can call.
ToolCall
A tool call returned by the model.
ToolCallDelta
Incremental tool call delta for streaming.
ToolChoice
Controls which tool the model calls.
ToolChoiceAuto
ToolChoiceFunction
ToolChoiceNone
ToolChoiceRequired