Skip to content

ToolCall

junjo.agent.messages.ToolCall

Kind: Class

SDK version: 0.64.0

Documentation channel: Next source preview

ToolCall(*, id: str, name: str, arguments: Mapping[str, object])

View source

One normalized model-requested Tool call.

Create one detached model-requested Tool call.

Name Type Description Default
id str Nonempty run-scoped call identity.
name str Declared Tool name.
arguments Mapping[str, object] Portable JSON object awaiting Tool validation.

id: str

View source

Public attribute.

name: str

View source

Public attribute.

arguments: Mapping[str, FrozenJsonValue]

View source

Public attribute.

to_json() -> dict[str, object]

View source

Public member documented by its signature.