A tool definition to be used by the OpenAI API.

See:

Example Usage

import { FunctionT } from "syllable-sdk/models/components";

let value: FunctionT = {
  name: "<value>",
  description:
    "blank kiddingly overheard or astride baseboard councilman ambitious",
  parameters: {},
};

Fields

FieldTypeRequiredDescription
namestringTRUEThe name of the function/tool call.
descriptionstringTRUEThe description of the tool.
parameterscomponents.ParametersTTRUEThe JSON Schema of parameters of the function/tool call.