WebFetch is the tool Claude uses to fetch a web page. A second, smaller model then summarises the page for Claude. Before, the page and the instructions were sent together in a single message, and the system prompt (the standing instructions a model receives before the conversation) was empty.
There is now a second way of doing this. It is used only when all of these hold:
- a setting that allows it is on
- the page does not come from a source treated as untrusted
- the summarising model is Haiku 5.5
- the summary mode is set to use the system prompt
In that mode, the instructions go into the system prompt. The page text is escaped, meaning special characters are made harmless, and wrapped in a tag with a random name, followed by the request. When the request is about code, the model is told to copy the relevant code from the page exactly as written.
This changes how fetched pages are summarised. Keeping the instructions apart from the page also makes it harder for text on a web page to pose as instructions to the model.