Skip to main content

Web tools

Web tools let Kiro access current information from the internet in real-time, grounding responses with up-to-date search results and page content. These tools are designed not to reproduce meaningful chunks of text, and they work with publicly accessible webpages.

Web tools are available across all surfaces (IDE, CLI, Web, and Mobile).

ToolDescription
web_searchSearch the web for current information
web_fetchFetch and extract text from a URL

In the following demo, the agent automatically uses web_search to return up-to-date results for a query, then uses web_fetch to retrieve the latest contents at a specific URL:

Searches the web and returns relevant results. The agent uses this automatically when you ask about current events, recent changes, or topics beyond the model's training data.

> What is the latest on EC2 instances? Searching the web for: AWS EC2 instances latest 2025 (using tool: web_search) ✓ Found 10 search results

web_fetch

Fetches and extracts text content from a specific URL. Supports three modes for managing context efficiently.

Fetch modes

ModeBehaviorUse case
selective (default)Returns up to 8,000 characters around search term matchesTargeted extraction with bounded output
truncatedFirst 8,000 charactersQuick preview
fullComplete content (up to 10 MB)Comprehensive analysis
> Get installation info from https://kiro.dev/blog/introducing-kiro-cli/ Fetching content from: https://kiro.dev/blog/introducing-kiro-cli/ (searching for: installation install getting started) [mode: selective] ✓ Fetched 7909 bytes (selective) from URL

When no specific content is requested, the tool defaults to truncated mode (first 8 KB) to manage context.

URL handling

In the IDE, web_fetch keeps the URL's query string and fragment and upgrades HTTP URLs to HTTPS before fetching. If a URL contains a username or password, Kiro removes those credentials and notes the change in the result.

Limitations

ConstraintValue
Maximum page size10 MB
Maximum selective output8,000 characters
Timeout30 seconds
Maximum redirects10
CLI V3 redirect policyRefuses redirects to another origin or to HTTP
Content typetext/HTML only
CLI V3 transient-failure retries1 automatic retry

Governance (enterprise)

Administrators using IAM Identity Center can disable web tools for their organization:

  1. Open the Kiro console
  2. Choose Settings
  3. Under Shared settings, toggle Web search and web fetch tools to Off

See Enterprise governance - Web tools for details.

Disabling web tools per agent

To prevent an agent from using web tools, exclude the web tag:

json
{ "tools": ["read", "write", "shell"], "excludedTools": ["web"] }

Or use permissions to deny web access:

yaml
rules: - capability: web_fetch effect: deny - capability: web_search effect: deny

Next steps

Page updated: October 9, 2026