Cost estimate
tool_cost_estimateFree. The exact price of a paid tool for given arguments, asked from the same door that will charge. Pass the result as confirm_cents. Studio steps (studio_render, ai_short_create) answer the server quote; the other gate steps (studio_voice, studio_visual, studio_music, studio_create_from_audio) answer cost_cents null: call them with confirm_cents: 0 to learn the price. song_analyze / music_video_director: free or 3¢.
Args: tool: generate_image | generate_thumbnail | generate_video_clip | generate_music | generate_voiceover | transcribe_audio | studio_render (arguments.project_id) | ai_short_create (arguments.plan) | any other tool (a free tool answers 0). arguments: that tool's arguments, without confirm_cents / idempotency_key / quote_only.
Returns: {ok, tool, cost_cents, price_cents, confirm_cents, notes?}
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>"
},
"name": "tool_cost_estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| arguments | No |