estimate_cost
Free: return the page count and exact cost_usd to read a document URL with read_document, without running OCR. Use before reading large documents.
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": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | http(s) URL of the PDF or image | |
| pages | No | Optional page range like '1-20'. |