Amazon has added a Web Search API to Amazon Bedrock AgentCore that lets a developer's own code search the web with a single call. Amazon says the API returns ranked results from a web index it operates.
Each result includes a text extract and, when available, the page title, URL, and publication time. Callers use the AWS SDKs or the AWS Command Line Interface, signed with the same AWS Identity and Access Management credentials used for other AWS services. No API key or secret is needed, and there are no resources to create first.
Until now, web search in AgentCore ran through AgentCore Gateway, a component that gives agents one secure endpoint for their tools. That route required creating a gateway and a search target, then calling the tool from a Model Context Protocol client. Amazon describes the gateway as the recommended path for most agent workloads. The new API suits cases such as custom agent loops, frameworks like LangChain or LlamaIndex, and non-agent uses like fact-checking pipelines or monitoring systems. It also lets developers manage retries, caching, and error handling themselves.
The API is an operation called InvokeWebSearch on the same endpoint used by other AgentCore tools, including AgentCore Browser. Amazon says it runs on the search infrastructure behind Alexa+, Kiro, and Quick.
Source: Introducing the Web Search API on Amazon Bedrock AgentCore | Artificial Intelligence.