OutputItemComputerToolCallOutputResource Class

Definition

The OutputItemComputerToolCallOutputResource.

public class OutputItemComputerToolCallOutputResource : Azure.AI.AgentServer.Responses.Models.OutputItem, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.OutputItemComputerToolCallOutputResource>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.OutputItemComputerToolCallOutputResource>
type OutputItemComputerToolCallOutputResource = class
    inherit OutputItem
    interface IJsonModel<OutputItemComputerToolCallOutputResource>
    interface IPersistableModel<OutputItemComputerToolCallOutputResource>
Public Class OutputItemComputerToolCallOutputResource
Inherits OutputItem
Implements IJsonModel(Of OutputItemComputerToolCallOutputResource), IPersistableModel(Of OutputItemComputerToolCallOutputResource)
Inheritance
OutputItemComputerToolCallOutputResource
Implements

Constructors

Name Description
OutputItemComputerToolCallOutputResource(String, ComputerScreenshotImage)

Initializes a new instance of OutputItemComputerToolCallOutputResource.

Properties

Name Description
AcknowledgedSafetyChecks

The safety checks reported by the API that have been acknowledged by the developer.

AgentReference

The agent that created the item.

(Inherited from OutputItem)
CallId

The ID of the computer tool call that produced the output.

CreatedBy

The information about the creator of the item

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

<remarks> Supported types:

</remarks>

Examples:

  • BinaryData.FromObjectAsJson("foo"). : Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""). : Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }). : Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"). : Creates a payload of { "key": "value" }.

(Inherited from OutputItem)
Id

The ID of the computer tool call output.

Output

Gets or sets the Output.

ResponseId

The response on which the item is created.

(Inherited from OutputItem)
Status

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

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<OutputItem>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from OutputItem)
IJsonModel<OutputItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from OutputItem)
IJsonModel<OutputItemComputerToolCallOutputResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<OutputItemComputerToolCallOutputResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<OutputItem>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from OutputItem)
IPersistableModel<OutputItem>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from OutputItem)
IPersistableModel<OutputItem>.Write(ModelReaderWriterOptions) (Inherited from OutputItem)
IPersistableModel<OutputItemComputerToolCallOutputResource>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<OutputItemComputerToolCallOutputResource>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<OutputItemComputerToolCallOutputResource>.Write(ModelReaderWriterOptions)

Extension Methods

Name Description
GetId(OutputItem)

Gets the Id property from an OutputItem. Uses direct type checks for known subclasses; falls back to JSON serialization for unrecognized types.

Applies to