Skip to content

FunctionT ​

The function definition

Example Usage ​

typescript
import { FunctionT } from "@meetkai/mka1/models/components";

let value: FunctionT = {
  name: "<value>",
};

Fields ​

FieldTypeRequiredDescription
namestring✔️The name of the function to be called. Must be a-z, A-Z, 0-9, underscores and dashes, with a maximum length of 64 characters.
descriptionstring➖A description of what the function does. Used by the model to choose when and how to call the function.
parametersany➖The parameters the function accepts, described as a JSON Schema object. Omit to accept no parameters.