OpenAIResponsesCustomToolCall

@Serializable
@SerialName(value = "custom_tool_call")
data class OpenAIResponsesCustomToolCall(val id: String? = null, val callId: String, val name: String, val input: String, val namespace: String? = null, val caller: OpenAIResponsesCaller? = null, val async: Boolean? = null) : OpenAIResponseInputItem, OpenAIResponseOutputItem

A custom tool call: a tool whose input is freeform text defined by the caller.

Constructors

Link copied to clipboard
constructor(id: String? = null, callId: String, name: String, input: String, namespace: String? = null, caller: OpenAIResponsesCaller? = null, async: Boolean? = null)

Properties

Link copied to clipboard

Whether the tool call runs asynchronously.

Link copied to clipboard

Who triggered the tool call.

Link copied to clipboard
@SerialName(value = "call_id")
val callId: String

The ID of the tool call, used to route the output back to the model.

Link copied to clipboard
val id: String?

The unique ID of the custom tool call.

Link copied to clipboard

The raw input the model produced for the tool.

Link copied to clipboard

The name of the tool that was invoked.

Link copied to clipboard

The namespace of the tool, when the tool is namespaced.

Link copied to clipboard
open override val printableContent: String