class

OpenAI::CustomToolChatCompletionsCustom

Inherits JSON::Serializable < Reference < Object

Properties of the custom tool.

Constructors

new(name : String = "", description : String | Nil = nil, format : CustomToolChatCompletionsCustomFormat | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

description

Optional description of the custom tool, used to provide more context.

Source
description=(description : String | Nil)

Optional description of the custom tool, used to provide more context.

Source
format

The input format for the custom tool. Default is unconstrained text.

Source
format=(format : CustomToolChatCompletionsCustomFormat | Nil)

The input format for the custom tool. Default is unconstrained text.

Source
name

The name of the custom tool, used to identify it in tool calls.

Source
name=(name : String)

The name of the custom tool, used to identify it in tool calls.

Source