Raw Fetch
AI-generatedSummary
Fetches raw content from a specified URL and returns it in Markdown or HTML format, optionally applying prompt-injection safeguards.
Inputs
- url (required) — The URL to fetch content from.
- format — Output format for fetched content. Defaults to
markdown. Options aremarkdownandhtml. - useSafeguard — Enable prompt-injection detection when
formatismarkdown. Defaults tofalse.
Output shape
A single item with a result field containing the raw string content and an unsafe boolean indicating if safeguards detected potential issues.
The
unsafefield indicates if safeguards were triggered. Errors are returned in the.errorfield ifcontinue on failis enabled.
Examples
Example 1: Fetch an article page as Markdown
URL: https://example.com/article, Format: markdown, Use Safeguard: false
Example 2: Fetch a webpage as HTML with safety checks
URL: https://example.com/page, Format: html, Use Safeguard: true
