Get a price before spending
quotePrices a take, the film (shoot, with or without the sharper finish) or filming one shot again (redo) for one of the connected account's scenes, with the credit balance, the balance after, any shortfall and how much of today's limit is left. Spends nothing. Returns a quote id that lasts 10 minutes: show the user the price, and only after they agree, pass the id to confirm_spend.
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": {
"scene": "<scene>",
"action": "<action>"
},
"name": "quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shot | No | For redo only: the number of the shot to film again, from 1. | |
| scene | Yes | The scene's id, from create_scene. | |
| action | Yes | take: one picture of the scene's first frame. shoot: the film, from the picked take. redo: one shot of the finished film filmed again. | |
| sharper | No | For shoot only: the sharper finish, which costs more. A redo follows the film's own finish. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | ||
| quote | Yes | ||
| short | Yes | ||
| action | Yes | ||
| balance | Yes | ||
| credits | Yes | ||
| dailyLeft | Yes | ||
| expiresInSeconds | Yes |