public class ToolCall extends Object:
Tool call requested by an LLM provider.
call = ToolCall("call_1", "listing", {"path": "."})
print(call.name)| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | arguments | Decoded arguments. |
| public readonly property | extraContent | Provider-specific metadata attached to the tool call. |
| public readonly property | idid as String |
Provider-side call identifier. |
| public readonly property | namename as String |
Requested tool name. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | ToolCall | Creates a tool call. |