FunctionResponse

@Serializable
data class FunctionResponse(val name: String, val args: List<String>)

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, args: List<String>)

Properties

Link copied to clipboard
val args: List<String>

A list of strings representing the values or arguments returned by the function. These are typically the result of the function's execution, formatted as strings for uniformity and ease of handling.

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.