OpenAI::CustomToolParam
Inherits JSON::Serializable < Reference < Object
A custom tool that processes input using a specified format. Learn more about custom tools
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : CustomToolParamType = CustomToolParamType::Custom, name : String = "", description : String | Nil = nil, format : CustomToolParamFormat | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
Optional description of the custom tool, used to provide more context.
format=(format : CustomToolParamFormat | Nil)
The input format for the custom tool. Default is unconstrained text.