Agent Action Group Args
Contains the information of an Agent Action Group
Constructors
Properties
The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
Name of the action group
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas .
Description of action group
Defines functions that each define parameters that the agent needs to invoke from the user. Each function represents an action in an action group.
If this field is set as AMAZON.UserInput
, the agent can request the user for additional information when trying to complete a task. The description
, apiSchema
, and actionGroupExecutor
fields must be blank for this action group. During orchestration, if the agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
Specifies whether to allow deleting action group while it is in use.