FunctionCallPart

constructor(name: String, args: Map<String, JsonElement>, id: String? = null)(source)

Parameters

name

the name of the function to call

args

the function parameters and values as a Map

id

Unique id of the function call. If present, the returned FunctionResponsePart should have a matching id field.