Quote a paid call
quoteReturns the exact price_credits for one paid call (for_tool + its args) and a quote_id valid 5 minutes and once; pass it to that tool. For bots_call it also returns free_left_today. Free (charges nothing). Needs sign-in (auth_challenge then auth_verify).
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": {
"for_tool": "<for_tool>"
},
"name": "quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | That tool's arguments as an object (or pass them at the top level) | |
| for_tool | Yes | The paid tool to price: ai_chat, image_generate, audio_transcribe or bots_call |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | ||
| stale | No | ||
| source | No | ||
| quote_id | No | ||
| price_credits | No |