estimate_cost
Estimate credit cost for bulk document generation and check current balance. Input document count and format to preview charges.
Instructions
Estimate the credit cost before generating documents. Call this before large batches so the user can confirm. Also returns current credit balance.
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": {
"count": "<count>"
},
"name": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of documents to generate | |
| outputFormat | No | Output format — docx (1 credit each) or pdf (2 credits each) | docx |