Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Disable user input in Amazon Bedrock

Focus mode
Disable user input in Amazon Bedrock - Amazon Bedrock

If you disable user input, the agent doesn't request the user for additional details. if it needs to invoke an API in an action group, but doesn't have enough information to complete the API request. Instead, the model within the agent will use the default values and make a best guess at invoking the appropriate function or the method. This might cause agent to hallucinate on the function call prediction.

You can disable user input in Amazon Bedrock at any time.

To learn how to disable user input, choose the tab for your preferred method, and then follow the steps:

Console
To disable user input,
  1. Sign in to the AWS Management Console using an IAM role with Amazon Bedrock permissions, and open the Amazon Bedrock console at https://console.aws.amazon.com/bedrock/.

  2. Select Agents from the left navigation pane. Then, choose an agent in the Agents section.

  3. Choose Edit in Agent builder.

  4. Expand Additional setting section, choose Disabled for User input.

  5. Select Prepare at the top of the page. And then select Save to save the changes to your agent.

API

To disable user input, send an UpdateAgentActionGroup request (see link for request and response formats and field details) with an Agents for Amazon Bedrock build-time endpoint and specify the following fields:

Field Short description
actionGroupName Name of the action group
parentActionGroupSignature Specify AMAZON.UserInput to disable the user input for agent
actionGroupState Specify DISABLED to disable user input for the agent

The following example shows the general format for specifying the required fields to disable user input.

CreateAgentActionGroup: { "actionGroupName": "AskUserAction", "parentActionGroupSignature": "AMAZON.UserInput", "actionGroupState": "DISABLED" }
To disable user input,
  1. Sign in to the AWS Management Console using an IAM role with Amazon Bedrock permissions, and open the Amazon Bedrock console at https://console.aws.amazon.com/bedrock/.

  2. Select Agents from the left navigation pane. Then, choose an agent in the Agents section.

  3. Choose Edit in Agent builder.

  4. Expand Additional setting section, choose Disabled for User input.

  5. Select Prepare at the top of the page. And then select Save to save the changes to your agent.

After you've disabled user input for your agent, make sure to send a PrepareAgent request (see link for request and response formats and field details) with an Agents for Amazon Bedrock build-time endpoint.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.