estimate_savings
Calculate potential token savings by comparing raw HTML to cleaned text, enabling cost assessment before full processing.
Instructions
Estimate token savings from raw HTML vs cleaned text without making an Apify call.
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": {
"raw": "<raw>",
"cleaned": "<cleaned>"
},
"name": "estimate_savings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | Yes | Original raw HTML or noisy text. | |
| cleaned | Yes | Cleaned text to compare against raw input. |