CmdID / aws / aws bedrock-agent-runtime
aws bedrock-agent-runtime invoke-agent
Amazon Bedrock Agents (now Amazon Bedrock Agents Classic) is no longer open to new customers. AWS CLI reference
12 options Its page in the AWS CLI reference
Options
--agent-alias-idThe alias of the agent to use.--agent-idThe unique identifier of the agent to use.--bedrock-model-configurationsModel performance settings for the request.--enable-traceSpecifies whether to turn on the trace or not to track the agent's reasoning process.--end-sessionSpecifies whether to end the session with the agent or not.--input-textThe prompt text to send the agent.--memory-idThe unique identifier of the agent memory.--prompt-creation-configurationsSpecifies parameters that control how the service populates the agent prompt for an InvokeAgent request.--session-idThe unique identifier of the session.--session-stateContains parameters that specify various attributes of the session.--source-arnThe ARN of the resource making the request.--streaming-configurationsSpecifies the configurations for streaming.