Skip to main content

Module tool

Module tool 

Source
Expand description

Tool calling types for function/tool integrations.

Structs§

ToolCall
Tool call emitted by the model.
ToolCallFunction
Tool call function payload in responses.
ToolChoiceFunction
Function selector for tool choice.
ToolChoiceTool
Tool choice specifying a concrete function to call.
ToolDefinition
Tool definition for requests.
ToolFunction
Function tool definition.

Enums§

ToolChoice
Tool choice for requests.
ToolChoiceMode
Tool choice mode for requests.
ToolType
Tool type supported by the API.