web_fetch
Downloads a user-confirmed web page, sanitizes unsafe content, and saves it as a local Markdown file, returning the path to read.
Instructions
Download a web page (after explicit user confirmation), sanitise it and save it as a local markdown file. Returns the file path only; read the file to consume it. Executable/archive/ document extensions and non-text content types are rejected; scripts, forms, iframes, event handlers and unsafe links are stripped. Private/loopback addresses are blocked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| output_dir | No | fetched |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |