page_contents
Fetches a public web page and converts its main content into clean GitHub-flavored Markdown or plain text for AI agents to feed to models.
Instructions
Page contents: URL to clean Markdown or text. Fetches one public web page and returns its main content as clean GitHub-flavored Markdown or plain text, with title, canonical URL, language, absolute links and content hashes, for agents that feed pages to a model. Deterministic, no model. Does not run JavaScript (client-rendered pages come back sparse), does not follow links, does not consult robots.txt, and drops navigation, footers, sidebars and forms.
Cost: 0.01 USDC per call, paid automatically over x402 on Base when AGENT_PRIVATE_KEY is configured and the price is within MAX_USDC_PER_CALL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL. | |
| format | No | markdown | |
| max_chars | No | Content is cut to this many characters; truncated says whether it was. | |
| include_links | No | Keep Markdown links and return a links list (at most 200). | |
| include_tables | No | Convert data tables to GFM tables; false drops them. |