HTTP Text (Web Fetch)
The HTTP Text tool allows AI agents to read and analyze clean, readable text from live web pages, documentation articles, and online documents.
Tool Identifier: http-text (legacy alias: http)
Want raw HTML source, linked JavaScript bundles, HTTP status codes/headers, or direct REST JSON API inspection instead? See HTTP GET (
http-get).
Capabilities
While search grounding identifies relevant links, the HTTP Text tool gives an agent the ability to read the complete readable text of specific URLs provided by the user or discovered during search:
- Web Page Reading: Extracts clean, readable text from HTML web pages, stripping away tracking scripts, navigation chrome, and boilerplate.
- Documentation Summaries: Point an agent to a documentation page, GitHub README, or blog post and ask questions about its contents.
- Public Content Reading: Summarizes and answers questions across one or more public web pages or documents in a single turn.
- Clean Text Extraction: Page content is normalized into clean, readable text before entering the model's context window.
How to Enable
In the UI
When configuring an agent in the Agent Builder or editing an existing agent, check the box for: ☑️ HTTP Text 🌐
In Agent YAML
Add http-text to the tools array (the older http identifier continues to work as an alias for http-text):
tools:
- http-text
Example Prompts & Use Cases
- Summarize an Article: "Read https://example.com/blog/latest-release and give me a 3-bullet summary of the new features."
- Documentation Assistant: Configure an agent whose system prompt tells it to consult your company's online developer docs whenever a technical question is asked.
- Combine with Raw HTTP Inspection: Enable both
http-textandhttp-getwhen an agent needs to read developer docs with HTTP Text and inspect live raw HTML, JS, or JSON responses with HTTP GET.
Related Tools
- 📡 HTTP GET: Retrieve raw HTTP status codes, response headers, raw HTML source, linked JavaScript files, and unparsed REST API payloads.
- 📤 HTTP POST: Invoke mutating
POST/PUT/PATCH/DELETEREST API endpoints (authenticated users only). - 🔎 Google Search Grounding: Find relevant links automatically when specific URLs are not known in advance.
- 💻 Code Execution: Process and analyze structured data using Python scripts.
- 📖 Connected Tools Overview