Skip to content

OpenAICustomToolOptions

Namespace: Vercel.AI.OpenAI

public sealed class OpenAICustomToolOptions

Options of CustomTool(OpenAICustomToolOptions).

Inheritance: object

View source

public string? Description { get; set; }

Description of the tool.

Value: string

View source

public string? GrammarDefinition { get; set; }

Grammar definition, used with GrammarSyntax.

Value: string

View source

public string? GrammarSyntax { get; set; }

Grammar syntax of the input: regex or lark. Without it the input is unconstrained text.

Value: string

View source

public string Name { get; set; }

The tool name.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product