Table of Contents

Class LocalShellCall

Namespace
OpenAI.Responses
Assembly
OpenAI-DotNet.dll
public sealed class LocalShellCall : BaseResponse, IResponseItem, IServerSentEvent, IListItem
Inheritance
LocalShellCall
Implements
Inherited Members

Constructors

LocalShellCall()

public LocalShellCall()

LocalShellCall(LocalShellAction)

public LocalShellCall(LocalShellAction action)

Parameters

action LocalShellAction

Properties

Action

Execute a shell command on the server.

[JsonInclude]
[JsonPropertyName("action")]
public LocalShellAction Action { get; }

Property Value

LocalShellAction

CallId

The unique ID of the local shell tool call generated by the model.

[JsonInclude]
[JsonPropertyName("call_id")]
public string CallId { get; }

Property Value

string

Id

The unique ID of this response item.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("id")]
public string Id { get; }

Property Value

string

Object

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("object")]
public string Object { get; }

Property Value

string

Status

The status of the response item.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("status")]
public ResponseStatus Status { get; }

Property Value

ResponseStatus

Type

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonPropertyName("type")]
public ResponseItemType Type { get; }

Property Value

ResponseItemType