ExtensionsOpenAIModelFactory.OutputItemFunctionToolCallOutput Method

Definition

Function tool call output.

public static Azure.AI.Extensions.OpenAI.OutputItemFunctionToolCallOutput OutputItemFunctionToolCallOutput(string id = default, Azure.AI.Extensions.OpenAI.AgentReference agentReference = default, string responseId = default, string callId = default, BinaryData output = default, Azure.AI.Extensions.OpenAI.ItemFieldFunctionToolCallOutputStatus? status = default);
static member OutputItemFunctionToolCallOutput : string * Azure.AI.Extensions.OpenAI.AgentReference * string * string * BinaryData * Nullable<Azure.AI.Extensions.OpenAI.ItemFieldFunctionToolCallOutputStatus> -> Azure.AI.Extensions.OpenAI.OutputItemFunctionToolCallOutput
Public Shared Function OutputItemFunctionToolCallOutput (Optional id As String = Nothing, Optional agentReference As AgentReference = Nothing, Optional responseId As String = Nothing, Optional callId As String = Nothing, Optional output As BinaryData = Nothing, Optional status As Nullable(Of ItemFieldFunctionToolCallOutputStatus) = Nothing) As OutputItemFunctionToolCallOutput

Parameters

id
String
agentReference
AgentReference

The agent that created the item.

responseId
String

The response on which the item is created.

callId
String

The unique ID of the function tool call generated by the model.

output
BinaryData

The output from the function call generated by your code. Can be a string or an list of output content.

status
Nullable<ItemFieldFunctionToolCallOutputStatus>

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

Returns

A new OutputItemFunctionToolCallOutput instance for mocking.

Applies to