Skip to content

Tool call

Defines the tool call schema.

Authors

Henry Wicaksono (henry.wicaksono@gdplabs.id)

References

NONE

ToolCall

Bases: BaseModel

Defines a tool call request when a language model decides to invoke a tool.

Attributes:

Name Type Description
id str

The ID of the tool call.

name str

The name of the tool.

args dict[str, Any]

The arguments of the tool call.