class

OpenAI::FunctionToolCallOutput

Inherits JSON::Serializable < Reference < Object

The output of a function tool call.

Constructors

new(id : String | Nil = nil, type_value : FunctionToolCallOutputType = FunctionToolCallOutputType::FunctionCallOutput, call_id : String = "", output : FunctionToolCallOutputOutput = "", status : FunctionToolCallOutputStatus | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

call_id

The unique ID of the function tool call generated by the model.

Source
call_id=(call_id : String)

The unique ID of the function tool call generated by the model.

Source
id

The unique ID of the function tool call output. Populated when this item is returned via API.

Source
id=(id : String | Nil)

The unique ID of the function tool call output. Populated when this item is returned via API.

Source
output

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

Source
output=(output : FunctionToolCallOutputOutput)

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

Source
status

The status of the item. One of in_progress, completed, or incomplete. Populated when items are returned via API.

Source
status=(status : FunctionToolCallOutputStatus | Nil)

The status of the item. One of in_progress, completed, or incomplete. Populated when items are returned via API.

Source
type_value

The type of the function tool call output. Always function_call_output.

Source
type_value=(type_value : FunctionToolCallOutputType)

The type of the function tool call output. Always function_call_output.

Source