class

OpenAI::CustomToolCallOutput

Inherits JSON::Serializable < Reference < Object

The output of a custom tool call from your code, being sent back to the model.

Constructors

new(type_value : CustomToolCallOutputType = CustomToolCallOutputType::CustomToolCallOutput, id : String | Nil = nil, call_id : String = "", output : CustomToolCallOutputOutput = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

call_id

The call ID, used to map this custom tool call output to a custom tool call.

Source
call_id=(call_id : String)

The call ID, used to map this custom tool call output to a custom tool call.

Source
id

The unique ID of the custom tool call output in the OpenAI platform.

Source
id=(id : String | Nil)

The unique ID of the custom tool call output in the OpenAI platform.

Source
output

The output from the custom tool call generated by your code. Can be a string or an list of output content.

Source
output=(output : CustomToolCallOutputOutput)

The output from the custom tool call generated by your code. Can be a string or an list of output content.

Source
type_value

The type of the custom tool call output. Always custom_tool_call_output.

Source
type_value=(type_value : CustomToolCallOutputType)

The type of the custom tool call output. Always custom_tool_call_output.

Source