Skip to main content

Module tool

Module tool 

Source
Expand description

Tool invocation: TOOL_CALL_*.

Structs§

ToolCallArgsEvent
Appends a chunk of the argument JSON for an open tool call.
ToolCallChunkEvent
A self-contained tool-call update: start, args and end folded into one.
ToolCallEndEvent
Closes a tool call. The arguments are complete.
ToolCallResultEvent
The result of a tool call, as a message appended to the thread.
ToolCallStartEvent
Opens a tool call. Arguments follow as TOOL_CALL_ARGS deltas.

Enums§

ToolResultRole
The single role a ToolCallResultEvent may declare.