FunctionResponse

@Serializable
data class FunctionResponse(val name: String, val response: JsonObject)

Represents the response from a function call, including the function's name and the arguments or values returned by the function.

Constructors

Link copied to clipboard
constructor(name: String, response: JsonObject)

Properties

Link copied to clipboard
val name: String

The name of the function that was called. This helps in identifying which function the response corresponds to, especially when multiple function calls are made asynchronously.

Link copied to clipboard
val response: JsonObject