OpenAIResponsesLocalShellCall

@Serializable
@SerialName(value = "local_shell_call")
data class OpenAIResponsesLocalShellCall(val id: String, val callId: String, val action: OpenAILocalShellExecAction, val status: OpenAIStatus? = null) : OpenAIResponseInputItem, OpenAIResponseOutputItem

A local shell tool call: the model requests a shell command execution.

Constructors

Link copied to clipboard
constructor(id: String, callId: String, action: OpenAILocalShellExecAction, status: OpenAIStatus? = null)

Properties

Link copied to clipboard

The shell action (command) to execute.

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 local shell call.

Link copied to clipboard
open override val printableContent: String
Link copied to clipboard

The status of the tool call. null when not reported.