FunctionCallPart

class FunctionCallPart : Part


Represents function call name and params received from requests.

Summary

Public constructors

FunctionCallPart(name: String, args: Map<StringJsonElement>, id: String?)

Public constructors

FunctionCallPart

FunctionCallPart(
    name: String,
    args: Map<StringJsonElement>,
    id: String? = null
)
Parameters
name: String

the name of the function to call

args: Map<StringJsonElement>

the function parameters and values as a Map

id: String? = null

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

Public properties

args

val argsMap<StringJsonElement>

id

val idString?

isThought

open val isThoughtBoolean

name

val nameString