Interface PartialArg

Partial argument value of the function call. This data type is not supported in Gemini API.

interface PartialArg {
    boolValue?: boolean;
    jsonPath?: string;
    nullValue?: "NULL_VALUE";
    numberValue?: number;
    stringValue?: string;
    willContinue?: boolean;
}

Properties

boolValue?: boolean

Optional. Represents a boolean value.

jsonPath?: string

Required. A JSON Path (RFC 9535) to the argument being streamed. https://datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data".

nullValue?: "NULL_VALUE"

Optional. Represents a null value.

numberValue?: number

Optional. Represents a double value.

stringValue?: string

Optional. Represents a string value.

willContinue?: boolean

Optional. Whether this is not the last part of the same json_path. If true, another PartialArg message for the current json_path is expected to follow.