web_extract
Fetches a public URL and deterministically converts HTML into clean LLM-ready Markdown alongside OpenGraph/JSON-LD metadata, heading outline, and deduplicated links without LLM summarization. Use when you need raw page text cheaply; use ai_web_research_brief for an AI-synthesized summary or search_web_live when you do not yet have a URL. Read-only, stateless; costs $0.005 Base USDC via x402 (unpaid calls return a v2 quote challenge without charging; invalid inputs return 400 uncharged).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "web_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public HTTP or HTTPS web page URL to fetch and extract. | |
| max_chars | No | Maximum character length of the returned Markdown output (500-40000, default 12000). | |
| include_links | No | Whether to include the deduplicated list of hyperlinks found on the page (default true). |