← Blog

Web grounding needs a direct IAM search API, not only an MCP gateway hop

AWS launched the InvokeWebSearch API on Amazon Bedrock AgentCore — SigV4-signed search against Amazon’s web index with domain and date filters, no gateway to create, $7 per 1,000 queries, PrivateLink support, and the same index as the existing Gateway MCP Web Search tool.

Agentic AILLM OpsGenerative AI

Custom agent loops, LangChain tools, and enrichment pipelines often need fresh web results without standing up AgentCore Gateway. Forcing every search through MCP adds resources and latency when the app only wants ranked extracts.

AWS announced on November 11, 2026 the Web Search API on Amazon Bedrock AgentCore: the `InvokeWebSearch` operation on the `bedrock-agentcore` data plane. Callers sign with SigV4 / standard IAM credentials — no API key, no gateway or target to create first. Results come from an Amazon-operated web index (not a third-party engine), each with a text extract and, when available, title, URL, and publication time. Filters cover include/exclude domains (up to 100 each) and publishedAfter / publishedBefore; `maxResults` is 1–25; `searchQuery` up to 200 characters. Permission is `bedrock-agentcore:InvokeWebSearch` on `arn:aws:bedrock-agentcore:<region>:aws:tool/web-search.v1` — the same action a gateway service role uses. Pricing matches Gateway Web Search at $7 per 1,000 queries with no gateway charges. Available in us-east-1, us-east-2, us-west-2, eu-west-1, ap-northeast-1, and ap-southeast-2, with PrivateLink, CloudTrail data events (opt-in), and langchain-aws / AgentCore SDK wrappers. Gateway remains the path for shared MCP policy across many agents; the API fits custom orchestration and non-agent pipelines.

What platform owners should choose deliberately:

  • Use Gateway MCP Web Search when many agents share one admin domain policy
  • Use InvokeWebSearch for app code, data pipelines, and DIY agent loops that already own IAM and retries
  • Encode trusted domains and date floors in code or gateway targets — not only in the model prompt

Web grounding without a resource bootstrap is how search joins the same IAM plane as the rest of AWS. The Web Search API closes that gap beside the existing Gateway tool.