Skip to content

ToolCallsResponse

junjo.agent.messages.ToolCallsResponse

Kind: Class

SDK version: 0.64.0

Documentation channel: Next source preview

ToolCallsResponse(*, tool_calls: Sequence[ToolCall], assistant_text: str | None = None, usage: ModelUsage | None = None)

View source

A normalized model response containing an ordered Tool-call batch.

Create a nonempty ordered Tool-call response and optional usage.

tool_calls: tuple[ToolCall, ...]

View source

Public attribute.

assistant_text: str | None

View source

Public attribute.

usage: ModelUsage | None

View source

Public attribute.

type: Literal['tool_calls']

View source

Public attribute.