quote
Get a dry-run price quote for OCR of one document before submitting a job. Returns a quote_id, page count, and a one-sentence price to confirm with the human.
Instructions
Dry run: nothing runs, nothing is billed. Returns quote_id, the page count and say_to_human, one sentence with the price: you are asked to show it to the human word for word and get a yes before submit_job. pipeline is name@version from list_pipelines; if the human named none, leave it out: the default (fastest and cheapest available) is used and the sentence names it. The quote_id is for one document, one pipeline and one job.
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": {
"file_path": "<file_path>"
},
"name": "quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | render resolution for PDF pages; leave out for the default | |
| pipeline | No | name@version from list_pipelines; leave out if the human named none | |
| file_path | Yes | absolute path of one PDF, PNG, JPEG or TIFF file |