web_fetch
Download and sanitize a web page after user confirmation, saving it as a local Markdown file and returning only the path for reading.
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 |