AzureAIProjectsModelFactory.InvokeAgentResponsesApiRoutineAction 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.
Dispatches a routine through the responses API. Exactly one of agent_name or agent_endpoint_id must be provided.
public static Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction InvokeAgentResponsesApiRoutineAction(string agentName = default, string agentEndpointId = default, BinaryData input = default, string conversation = default);
static member InvokeAgentResponsesApiRoutineAction : string * string * BinaryData * string -> Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction
Public Shared Function InvokeAgentResponsesApiRoutineAction (Optional agentName As String = Nothing, Optional agentEndpointId As String = Nothing, Optional input As BinaryData = Nothing, Optional conversation As String = Nothing) As InvokeAgentResponsesApiRoutineAction
Parameters
- agentName
- String
The project-scoped agent name for routine dispatch.
- agentEndpointId
- String
Legacy endpoint-scoped agent identifier for routine dispatch.
- input
- BinaryData
Static JSON value sent as the complete downstream input when the routine fires. The value is passed through as-is; no templating is applied.
- conversation
- String
An optional existing conversation identifier to continue during the downstream dispatch.
Returns
A new InvokeAgentResponsesApiRoutineAction instance for mocking.