Fetch Clean Public Webpage
cleanroom_fetch_safe_pageRead a public webpage safely by stripping out scripts, messy code, and hidden instructions, returning clean readable text, headings, links, and a timestamped fingerprint ($0.005).
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": "cleanroom_fetch_safe_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public https:// webpage URL to fetch and clean safely. | |
| max_chars | No | Optional maximum clean text length (500 to 24000). | |
| spend_key | No | Optional prepaid API key for paid lookups. Can also be sent in the x-atlas-spend-key or Authorization header. | |
| builder_code | No | Optional partner referral code for revenue sharing. | |
| idempotency_key | No | Optional unique request ID to prevent duplicate billing on retries. | |
| payment_signature | No | Optional direct payment header when paying per request without a prepaid API key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No |