Estimate credits
estimatePreview the cost and potential errors of a billable API call before running it, returning minimum/maximum price, balance, and limit details without charging.
Instructions
Price a billable call without running it or charging for it (Clawifi API 1.7.0+). operation is one of fetch, scrape, extract, map, crawl, search_free or search_content; args are that operation's fields, for example {"url": "https://example.com"}, {"seed_url": ...} for crawl or {"query": ...} for the searches. Returns estimate {minimum, maximum, raises}, balance, would_402, would_429 and binding_limit; charged is 0.
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": {
"operation": "<operation>"
},
"name": "estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| operation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||