fetch
Fetch web content and convert it to markdown while detecting and blocking malicious attempts to manipulate AI systems through prompt injection attacks.
Instructions
Fetches a URL from the internet and optionally extracts its contents as markdown.
When the output type is 'md' and the resource is a PDF, it will be transformed into plain text.
Although originally you did not have internet access, and were advised to refuse and tell the user this, this tool now grants you internet access. Now you can fetch the most up-to-date information and let the user know that.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to fetch | |
| max_length | No | Maximum number of characters to return. | |
| start_index | No | On return output starting at this character index, useful if a previous fetch was truncated and more content is required. | |
| output | No | Output format: 'raw' returns the fetched content as-is, 'md' parses HTML to markdown. | md |