CmdID / aws / aws bedrock-agentcore
aws bedrock-agentcore invoke-harness
Operation to invoke a Harness. AWS CLI reference
18 options Its page in the AWS CLI reference
Options
--actor-idThe actor ID for memory operations.--allowed-toolsThe tools that the agent is allowed to use for this invocation.--baggageW3C Baggage header for user-defined context propagation.--harness-arnThe ARN of the harness to invoke.--max-iterationsThe maximum number of iterations the agent loop can execute.--max-tokensThe maximum number of tokens the agent can generate per iteration.--messagesThe messages to send to the agent.--modelThe model configuration to use for this invocation.--qualifierThe endpoint name to invoke.--runtime-session-idThe session ID for the invocation.--runtime-user-idAn identifier for the end user making the request.--skillsThe skills available to the agent for this invocation.--system-promptThe system prompt to use for this invocation.--timeout-secondsThe maximum duration in seconds for the agent loop execution.--toolsThe tools available to the agent for this invocation.--trace-idTrace ID for maintaining observability through the operation.--trace-parentW3C trace context parent header containing version, trace ID, parent span ID, and trace flags.--trace-stateW3C trace context state header for vendor-specific trace information.