Agent tool call through AgentCore Gateway and Policy

Agent tool call through AgentCore Gateway and Policy Agent tool call through AgentCore Gateway and Policy A clinician asks for a patient summary; the agent fetches FHIR data under policy and guardrails AWS Cloud opt [tool needed] Summarize last visit for patient 123 1. Clinician prompt over HTTPS with a workforce token.1 invoke agent (identity propagated) 2. Amazon API Gateway → AgentCore Runtime (invoke agent (identity propagated))2 screen prompt 3. AgentCore Runtime → Bedrock Guardrails (screen prompt)3 allowed plan next step 4. AgentCore Runtime → Amazon Bedrock (plan next step)4 tool call: get_patient_summary call tool via MCP 5. AgentCore Runtime → AgentCore Gateway (call tool via MCP)5 authorize (role, patient, purpose) 6. AgentCore Gateway → AgentCore Policy (authorize (role, patient, purpose))6 permit FHIR search 7. AgentCore Gateway → AWS HealthLake (FHIR search)7 Bundle tool result On deny, Gateway returns an errorand the agent explains it cannotaccess the record. compose answer 8. AgentCore Runtime → Amazon Bedrock (compose answer)8 screen response (PHI / PII) 9. AgentCore Runtime → Bedrock Guardrails (screen response (PHI / PII))9 summary with sources Clinician (Users) Clinician Amazon API Gateway (Amazon API Gateway) Amazon API Gateway AgentCore Runtime (Amazon Bedrock AgentCore) AgentCore Runtime agent session Bedrock Guardrails (Amazon Bedrock) Bedrock Guardrails Amazon Bedrock (Amazon Bedrock) Amazon Bedrock foundation model AgentCore Gateway (Amazon Bedrock AgentCore) AgentCore Gateway AgentCore Policy (Amazon Bedrock AgentCore) AgentCore Policy AWS HealthLake (AWS HealthLake) AWS HealthLake

Flow

  1. 1Clinician prompt over HTTPS with a workforce token.
  2. 2Amazon API Gateway → AgentCore Runtime (invoke agent (identity propagated))
  3. 3AgentCore Runtime → Bedrock Guardrails (screen prompt)
  4. 4AgentCore Runtime → Amazon Bedrock (plan next step)
  5. 5AgentCore Runtime → AgentCore Gateway (call tool via MCP)
  6. 6AgentCore Gateway → AgentCore Policy (authorize (role, patient, purpose))
  7. 7AgentCore Gateway → AWS HealthLake (FHIR search)
  8. 8AgentCore Runtime → Amazon Bedrock (compose answer)
  9. 9AgentCore Runtime → Bedrock Guardrails (screen response (PHI / PII))

Cost estimate us-east-1 · price list as of 2026-10-02 · indicative — some usage is assumed

$135per month
$1,617per year
4/8components priced
3not priced (see below)

Public on-demand AWS list prices from the AWS Price List. Excludes free tier, taxes, support plans, Savings Plans/Reserved Instances/Spot and enterprise discounts, and data transfer unless a node sets egressGbPerMonth. Monthly = 730 hours. Not a quote: confirm with the AWS Pricing Calculator.

By category

AI and agents$131 · 97%
Integration$3.50 · 3%

By component click a row to highlight it on the diagram

ComponentServiceStatus$ / monthLine items
AgentCore RuntimeAmazon Bedrock AgentCoreestimated$76.25
2 lines
  • Runtime vCPU-hours (30% active): 500 vCPU-Hours × $0.0895 = $44.75
  • Runtime memory GB-hours: 3,333.33 GB-Hours × $0.0095 = $31.50

Runtime bills CPU for active processing and memory for the session; idle wait on model calls is not billed as CPU. Platform V2 uses different (higher) per-unit rates.

Bedrock GuardrailsAmazon Bedrockestimated$50.00
2 lines
  • content policy (1 text unit ≈ 1,000 characters): 200,000 TextUnit × $0.0002 = $30.00
  • pii policy (1 text unit ≈ 1,000 characters): 200,000 TextUnit × $0.0001 = $20.00
AgentCore GatewayAmazon Bedrock AgentCoreestimated$5.00
3 lines
  • API/tool invocations: 1,000,000 Invocations × $0.00 = $5.00
  • Tool search invocations: 0 Invocations × $0.00 = $0.00
  • Tools indexed (tool-months): 20 ToolIndex-Month × $0.0002 = $0.004
Amazon API GatewayAmazon API Gatewayestimated$3.50
1 line
  • REST API requests: 1,000,000 Requests × $0.00 = $3.50

Not priced

  • Amazon Bedrock — needs-input: usage.model is required for this service
  • AgentCore Policy — not-itemized: No separate policy charge is listed in the AWS Price List for AgentCore (Observability data is billed through CloudWatch). Verify on the AgentCore pricing page.
  • AWS HealthLake — not-estimated: No cost model for AWS HealthLake yet. Supply `usage.monthlyUsd` on the node to include it.

Assumptions 16 defaulted — replace them with your own numbers in each node's usage

ComponentAssumptionValueSource
Amazon API Gatewaytyperestassumed
Amazon API GatewayrequestsPerMonth1000000assumed
AgentCore Runtimecomponentruntimeassumed
AgentCore Runtimeplatformv1assumed
AgentCore RuntimesessionsPerMonth10000assumed
AgentCore RuntimeavgSessionMinutes10assumed
AgentCore Runtimevcpu1assumed
AgentCore RuntimememoryGb2assumed
AgentCore RuntimecpuActiveFraction0.3assumed
Bedrock GuardrailstextUnitsPerMonth200000assumed
Bedrock Guardrailspolicies["content","pii"]assumed
AgentCore Gatewaycomponentgatewayassumed
AgentCore GatewayinvocationsPerMonth1000000assumed
AgentCore GatewaysearchesPerMonth0assumed
AgentCore Gatewaytools20assumed
AgentCore Policycomponentpolicyassumed

Sensitivity & what-if

$135at 1× traffic
$404at 3× traffic
$1,348at 10× traffic

No what-if options apply to these services.

Price list provenance

Retrieved 2026-10-01T18:40:39.861Z from the public AWS Price List bulk API. Per-service publication dates:

AmazonApiGateway 2026-09-21 · AmazonBedrockAgentCore 2026-09-15 · AmazonBedrock 2026-09-30

Only public on-demand rates are used. This is not a quote — confirm in the AWS Pricing Calculator.