scrape_html_headless_fallback
Extract HTML content by first attempting static parsing, then switching to a headless browser when JavaScript rendering is required, ensuring complete page data capture.
Instructions
Dual-tier scraper: tries ultra-fast static HTML parse first, seamlessly falling back to headless Chromium only if JS hydration is required. (0.02 USDC on Base L2)
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": {
"payload": "<payload>"
},
"name": "scrape_html_headless_fallback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Input parameters or JSON string payload for the tool execution | |
| paymentSignature | No | Base L2 USDC micropayment signature or transaction hash for x402 settlement |