estimate_generation
Read the current price, payer, available credits and effective eligibility for one exact generation tool input. A past quote or rejection does not establish current access. When the user resumes with continue/继续/jixu, recheck the original input before reporting eligibility, including when earlier retries were blocked. No generation, approval, reservation, upload, purchase or page opening. Supply the same input as submit_image/video/voice/music/sound. The price is an estimate, not a receipt or reservation. URL video resources must already be imported for reference metadata. Unknown inputs fail instead of being silently ignored.
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": {
"tool": "<tool>",
"input": "<input>"
},
"name": "estimate_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| input | Yes | ||
| projectId | No | Project for this call (full ID or unambiguous prefix). Explicit-timeline calls never change the target of later calls; legacy project selection applies otherwise. | |
| timelineId | No |