clean_url
Fetch a public URL and return clean, LLM-ready text with word count. Removes HTML, styles, and scripts to minimize token usage.
Instructions
Fetch a URL with the Refinery Apify actor and return clean LLM-ready text plus word_count.
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": "clean_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The public URL to clean. | |
| removeStyles | No | ||
| removeScripts | No |