ExtensionsOpenAIModelFactory.OutputItemCustomToolCallOutputResource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ResponseCustomToolCallOutputItem.
public static Azure.AI.Extensions.OpenAI.OutputItemCustomToolCallOutputResource OutputItemCustomToolCallOutputResource(string id = default, Azure.AI.Extensions.OpenAI.AgentReference agentReference = default, string responseId = default, string callId = default, BinaryData output = default, Azure.AI.Extensions.OpenAI.ResponsesFunctionCallOutputStatus status = default, string createdBy = default);
static member OutputItemCustomToolCallOutputResource : string * Azure.AI.Extensions.OpenAI.AgentReference * string * string * BinaryData * Azure.AI.Extensions.OpenAI.ResponsesFunctionCallOutputStatus * string -> Azure.AI.Extensions.OpenAI.OutputItemCustomToolCallOutputResource
Public Shared Function OutputItemCustomToolCallOutputResource (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 ResponsesFunctionCallOutputStatus = Nothing, Optional createdBy As String = Nothing) As OutputItemCustomToolCallOutputResource
Parameters
- id
- String
- agentReference
- AgentReference
The agent that created the item.
- responseId
- String
The response on which the item is created.
- callId
- String
The call ID, used to map this custom tool call output to a custom tool call.
- output
- BinaryData
The output from the custom tool call generated by your code. Can be a string or an list of output content.
The status of the item. One of in_progress, completed, or
incomplete. Populated when items are returned via API.
- createdBy
- String
The identifier of the actor that created the item.
Returns
A new OutputItemCustomToolCallOutputResource instance for mocking.