ImprovedBuild

Read any website's raw HTML to inspect or redesign

Until today, the AI agent could fetch a webpage's text (article-style, cleaned via Markdown) but not its raw HTML. That was a real gap when you'd say "redesign this site" - the agent needed the actual DOM, classes, and layout, not a flattened text version.

Now there's a dedicated WebFetchHtml tool. Give the agent a URL, it downloads the page's raw HTML (up to 5 MB), saves it as a file inside your project under temp/, and reads it back chunk by chunk - the same way it reads any other file in your project.

Practical example: "Fetch https://stripe.com/pricing and redesign our pricing page in that style." The agent now actually sees Stripe's grid, their semantic landmarks, their spacing patterns - not just the text on the page.

Safety: same SSRF protections as the existing fetcher - localhost, private IPs, cloud metadata endpoints are all blocked. The HTML is never inlined into the conversation (that would blow the context budget); it's only ever read on demand from the project file.