FunctionResponsePart

constructor(name: String, response: JsonObject, id: String? = null, parts: List<Part> = emptyList())(source)

Parameters

name

The name of the called function.

response

The response produced by the function as a JsonObject.

id

Matching id for a FunctionCallPart, if one was provided.