Share via


FunctionCall Class

Represents a function call request from an AI model.

Contains the function name, unique call ID, and parsed arguments that will be passed to the function handler if any.

Constructor

FunctionCall(id: str, name: str, arguments: dict[str, typing.Any] = <factory>)

Parameters

Name Description
id
Required
name
Required
arguments
Default value: <factory>

Attributes

arguments

arguments: dict[str, Any]

id

id: str

name

name: str