Continue a paused template run
resume_template_runContinue a recreate_template run that paused (the price went up while it was starting, or the credits ran out): the same run picks up the pieces that weren't made, nothing finished is made again. Call it first with only run_id: it returns why it paused, what the rest costs now and a confirmation id. Tell the user and wait for a clear yes, then call it again with max_credits (that total) and confirmation (that id). Nothing is charged without both.
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": {
"run_id": "<run_id>"
},
"name": "resume_template_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run_id of a paused run (get_template_run says when it is paused). | |
| max_credits | No | Required to continue: the quoted total for the rest that the user agreed to. Leave it out to get the quote; nothing is charged without it. | |
| confirmation | No | Required to continue, together with max_credits: the confirmation id from the quote, passed back exactly. |