Estimate the cost of a call
autoshort_estimate_costEstimate the credit cost of a paid AutoShort call before running it, checking required balance and daily cap without creating or charging anything. Use it to price a tool call or draft render.
Instructions
Price a paid call BEFORE making it: pass {tool, arguments} — the tool name and the exact arguments you would send (or just {draftId} to price autoshort_render_draft). Returns the most credits it can commit, the balance it needs, whether the balance and this key's daily cap cover it, and when it is charged. Nothing is created or charged. Free.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "autoshort_estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | e.g. autoshort_generate_video, autoshort_render_draft, autoshort_ugc_render_batch | |
| draftId | No | Shortcut: price autoshort_render_draft for this draft (same as {tool: "autoshort_render_draft", arguments: {draftId}}). | |
| arguments | No | The arguments you would pass to that tool. |