InvokeAgentInvocationsApiRoutineAction 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 raw invocations API. Exactly one of agent_name or agent_endpoint_id must be provided.
public class InvokeAgentInvocationsApiRoutineAction : Azure.AI.Projects.RoutineAction, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction>
type InvokeAgentInvocationsApiRoutineAction = class
inherit RoutineAction
interface IJsonModel<InvokeAgentInvocationsApiRoutineAction>
interface IPersistableModel<InvokeAgentInvocationsApiRoutineAction>
Public Class InvokeAgentInvocationsApiRoutineAction
Inherits RoutineAction
Implements IJsonModel(Of InvokeAgentInvocationsApiRoutineAction), IPersistableModel(Of InvokeAgentInvocationsApiRoutineAction)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| InvokeAgentInvocationsApiRoutineAction() |
Initializes a new instance of InvokeAgentInvocationsApiRoutineAction. |
Properties
| Name | Description |
|---|---|
| AgentEndpointId |
Legacy endpoint-scoped agent identifier for routine dispatch. |
| AgentName |
The project-scoped agent name for routine 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:
|
| SessionId |
An optional existing hosted-agent session identifier to continue during the downstream dispatch. |