ProjectsOpenAIModelFactory.OpenApiToolCallOutput Method

Definition

The output of an OpenAPI tool call.

public static Azure.AI.Projects.OpenAI.OpenApiToolCallOutput OpenApiToolCallOutput(string id = default, Azure.AI.Projects.OpenAI.AgentReference agentReference = default, string responseId = default, string callId = default, string name = default, BinaryData output = default, Azure.AI.Projects.OpenAI.ToolCallStatus status = Azure.AI.Projects.OpenAI.ToolCallStatus.InProgress);
static member OpenApiToolCallOutput : string * Azure.AI.Projects.OpenAI.AgentReference * string * string * string * BinaryData * Azure.AI.Projects.OpenAI.ToolCallStatus -> Azure.AI.Projects.OpenAI.OpenApiToolCallOutput
Public Shared Function OpenApiToolCallOutput (Optional id As String = Nothing, Optional agentReference As AgentReference = Nothing, Optional responseId As String = Nothing, Optional callId As String = Nothing, Optional name As String = Nothing, Optional output As BinaryData = Nothing, Optional status As ToolCallStatus = Azure.AI.Projects.OpenAI.ToolCallStatus.InProgress) As OpenApiToolCallOutput

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 tool call generated by the model.

name
String

The name of the OpenAPI operation that was called.

output
BinaryData

The output from the OpenAPI tool call.

status
ToolCallStatus

The status of the tool call.

Returns

A new OpenApiToolCallOutput instance for mocking.

Applies to