name: str

The name of the function to call.

type: Literal["function"]

For function calling, the type is always function.