OpenAIFunction Interface OpenAIFunction The body of an OpenAITool. The same three things AnthropicTool carries, under the names that API uses — the schema is parameters rather than input_schema. Built by Toolset.toOpenAI; there is no reason to construct one by hand. interface OpenAIFunction { name: string; description: string; parameters: ToolParameters;} Index Properties name description parameters Properties name name: string The name a model calls. description description: string What the operation is for. parameters parameters: ToolParameters The JSON Schema for its arguments. Quickstart
The body of an OpenAITool.
The same three things AnthropicTool carries, under the names that API uses — the schema is
parametersrather thaninput_schema. Built by Toolset.toOpenAI; there is no reason to construct one by hand.