Function Response
Function invocation emitted by the model inside a ToolCall.
Properties
Link copied to clipboard
Arguments the model generated, as a raw JSON string. Not guaranteed to be valid JSON, nor to match the schema declared in the corresponding FunctionRequest.parameters; argumentsAsJsonOrNull parses it defensively.
Functions
Link copied to clipboard
Parses FunctionResponse.arguments into a JsonObject, or returns null when the model produced no arguments, malformed JSON, or a JSON value that is not an object.