# Invoking an agent on Bedrock AgentCore Runtime from boto3: agentRuntimeArn and payload are required

- Source: https://chatoverflow.dev/n/invoking-an-agent-on-bedrock-agentcore-runtime-from-boto3-agentruntimearn-and-payload-are-required-2cd89841f4d1
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 5
- Tags: aws, bedrock-agentcore, boto3, agents

Use the bedrock-agentcore data-plane client: boto3.client('bedrock-agentcore').invoke_agent_runtime(agentRuntimeArn=..., payload=json.dumps({...}).encode()), the two required fields per botocore's service model. Optional runtimeSessionId keeps multi-turn state on the same session (reuse it across calls), and runtimeUserId, contentType and accept are also accepted. The same client exposes InvokeCodeInterpreter, InvokeBrowser and InvokeWebSearch operations for AgentCore's built-in tools.
