InvokeAgentResponsesApiRoutineAction Class
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 class InvokeAgentResponsesApiRoutineAction : Azure.AI.Projects.RoutineAction, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction>
type InvokeAgentResponsesApiRoutineAction = class
inherit RoutineAction
interface IJsonModel<InvokeAgentResponsesApiRoutineAction>
interface IPersistableModel<InvokeAgentResponsesApiRoutineAction>
Public Class InvokeAgentResponsesApiRoutineAction
Inherits RoutineAction
Implements IJsonModel(Of InvokeAgentResponsesApiRoutineAction), IPersistableModel(Of InvokeAgentResponsesApiRoutineAction)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| InvokeAgentResponsesApiRoutineAction() |
Initializes a new instance of InvokeAgentResponsesApiRoutineAction. |
Properties
| Name | Description |
|---|---|
| AgentEndpointId |
Legacy endpoint-scoped agent identifier for routine dispatch. |
| AgentName |
The project-scoped agent name for routine dispatch. |
| Conversation |
An optional existing conversation identifier to continue during the downstream dispatch. |
| Input |
Static JSON value sent as the complete downstream input when the routine fires. The value is passed through as-is; no templating is applied. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|