Estimate credits
estimate_costCredits a production plan would cost, before spending anything, with the workspace balance. Give items with a target id for an exact figure (the clip length and references of that scene), or a type with seconds/count for a rough one, e.g. [{type:"scene_video", seconds: 8, count: 12}].
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": {
"drama_id": "<drama_id>",
"items": "<items>"
},
"name": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | What would be produced: each item has its type (scene_video, character_sheet, episode_music, render_episode…) and the id of its target. | |
| drama_id | Yes | The drama id (drm_…), from list_dramas or create_drama. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||