OutputItemToolSearchOutput Constructor

Definition

Initializes a new instance of OutputItemToolSearchOutput.

public OutputItemToolSearchOutput(string id, string callId, Azure.AI.AgentServer.Responses.Models.ToolSearchExecutionType execution, System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Responses.Models.Tool> tools, Azure.AI.AgentServer.Responses.Models.FunctionCallOutputStatusEnum status);
new Azure.AI.AgentServer.Responses.Models.OutputItemToolSearchOutput : string * string * Azure.AI.AgentServer.Responses.Models.ToolSearchExecutionType * seq<Azure.AI.AgentServer.Responses.Models.Tool> * Azure.AI.AgentServer.Responses.Models.FunctionCallOutputStatusEnum -> Azure.AI.AgentServer.Responses.Models.OutputItemToolSearchOutput
Public Sub New (id As String, callId As String, execution As ToolSearchExecutionType, tools As IEnumerable(Of Tool), status As FunctionCallOutputStatusEnum)

Parameters

id
String

The unique ID of the tool search output item.

callId
String
execution
ToolSearchExecutionType

Whether tool search was executed by the server or by the client.

tools
IEnumerable<Tool>

The loaded tool definitions returned by tool search.

status
FunctionCallOutputStatusEnum

The status of the tool search output item that was recorded.

Exceptions

id or tools is null.

Applies to