Interface FunctionCall

A function call.

interface FunctionCall {
    args?: Record<string, unknown>;
    id?: string;
    name?: string;
}

Properties

Properties

args?: Record<string, unknown>

Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.

id?: string

The unique id of the function call. If populated, the client to execute the function_call and return the response with the matching id.

name?: string

Required. The name of the function to call. Matches [FunctionDeclaration.name].

MMNEPVFCICPMFPCPTTAAATR