web_extract
Structured extraction from a URL ($0.004 per call, paid via MPP on Tempo). Fetch a URL (or take html/markdown) and extract structured JSON: pass a JSON Schema (schema) and/or an instruction (prompt). Output is validated against your schema; if it does not validate you are not charged. Static fetch, page truncated to ~12k tokens. HTTP POST https://mpp-agent-data.fmf-x402.workers.dev/mpp/web/extract. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "web_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Page URL | |
| html | No | Raw HTML instead of url | |
| prompt | No | What to extract | |
| schema | No | JSON Schema for the output | |
| markdown | No | Markdown/text instead of url | |
| selector | No | CSS selector to keep |