Use these actions to invoke Bedrock agents as part of your workflow definitions.
Prerequisites
For prerequisites and credentials setup, see Set up AWS credentials.
Invoke a Bedrock agent
Action identifier: aws.bedrock.invokeAgent
Invokes an AWS Bedrock agent with a prompt and returns the agent's response.
Input | Type | Description | Example |
|---|---|---|---|
| String | Optional. IAM role ARN to assume for AWS API calls. |
|
| String | Optional. AWS access key ID. Pass as a secret. |
|
| String | Optional. AWS secret access key. Pass as a secret. |
|
| String | Optional. Temporary session token for STS authentication. Pass as a secret. |
|
| String | Required. AWS region where the Bedrock agent is located. |
|
| String | Required. The unique identifier of the Bedrock agent. |
|
| String | Required. The alias identifier for the Bedrock agent. |
|
| String | Required. The prompt to send to the agent. |
|
| String | Optional. Session identifier to maintain conversation context across multiple invocations. |
|
| Map | Optional. Additional boto3 fields not otherwise modeled. |
|
| List | Optional. JQ selectors to extract specific fields from the action output. |
|
Output | Type | Example |
|---|---|---|
| Object |
|
| Boolean |
|
| String |
|