call_id: String

An identifier used to map this custom tool call to a tool call output.

input: String

The input for the custom tool call generated by the model.

name: String

The name of the custom tool being called.

type: :custom_tool_call

The type of the custom tool call. Always custom_tool_call.

id: String

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

agent: Agent{ agent_name}

The agent that produced this item.

agent_name: String

The canonical name of the agent that produced this item.

async: bool

Whether the custom tool call runs asynchronously.

caller_: Direct{ type} | Program{ caller_id, type}

The execution context that produced this tool call.

One of the following:
class Direct { type }
type: :direct
class Program { caller_id, type }
caller_id: String

The call ID of the program item that produced this tool call.

type: :program
namespace: String

The namespace of the custom tool being called.