ToolCallsResponse
junjo.agent.messages.ToolCallsResponse
Kind: Class
SDK version: 0.64.0
Documentation channel: Next source preview
Signature
Section titled “Signature”ToolCallsResponse(*, tool_calls: Sequence[ToolCall], assistant_text: str | None = None, usage: ModelUsage | None = None)A normalized model response containing an ordered Tool-call batch.
Constructor
Section titled “Constructor”Create a nonempty ordered Tool-call response and optional usage.
Members
Section titled “Members”tool_calls
Section titled “tool_calls”tool_calls: tuple[ToolCall, ...]Public attribute.
assistant_text
Section titled “assistant_text”assistant_text: str | NonePublic attribute.
usage: ModelUsage | NonePublic attribute.
type: Literal['tool_calls']Public attribute.