resume_run
Resume a paused run after an external stage is answered or a spending limit stops it, and optionally raise the run's limit when the person supplies the new total.
Instructions
Resume a paused run after its external stage was answered (submit_stage does this for you), or a run its spending limit stopped (a paid run asks the person for a new, higher total in the dialog). To use a total the person has already said, pass it as max_usd together with their own words in person_words. To let the person raise the limit at a resume that is not a stop, pass raise_limit: true: the dialog asks them for the new total and nothing is pre-filled. Completed stages replay from disk and cost nothing.
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": "<run>"
},
"name": "resume_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | ||
| max_usd | No | a positive number of dollars. On a run with a paid seat this is the new total THE PERSON said, and it is used only together with person_words, their own words as they typed them, which must contain this number: you never choose or suggest a figure. Without the person's words a figure is refused (nothing is started); without a figure the person types the new total in the dialog. For a run held to a cap per provider (COUNCIL_SPEND_CAPS), leave it out: it is refused, and the person types, in the dialog, the new total for each cap the run asks about. For a chain with no paid seat it raises the ceiling for the rest of this run, and "none" removes it. "none" is refused where the user set COUNCIL_MAX_USD_LIMIT; a figure above that limit is refused; 0 is refused. | |
| raise_limit | No | true: ask the PERSON, in the dialog, for a new total limit for this run at this resume, though the run has not stopped at its limit. They type the figure; you pass none and nothing is pre-filled (use max_usd with person_words instead when the person already said the figure). Not with max_usd or person_words. A run with a paid seat only. A run held to a cap per provider (COUNCIL_SPEND_CAPS) is refused: its caps are raised one at a time, when the run stops at one. | |
| claude_route | No | where the chain's Claude seats are called: "auto" (the default: straight to Anthropic, or through OpenRouter when only an OpenRouter key is set), "anthropic", "openrouter" or "session". With "session" every Claude seat is answered by the person's own Claude Code session, one session for each seat: the run pauses at each such seat the way it does at an external stage, and those seats cost no API money. Only the person chooses it; leave it out unless the person chose a route. A run that began as a session run stays one when nothing is typed. | |
| person_words | No | the person's own words, exactly as they typed them in this conversation, saying the new total (for example "raise it to $12"). Required with max_usd on a run with a paid seat, and the number in max_usd must appear in them. Never write or paraphrase these words yourself. The tool cannot check that the person said them: the record keeps the words and that you relayed them. | |
| zero_retention | No | "on" or "off": with "on" every call through OpenRouter names only the hosts that OpenRouter's list gives for its model as zero-retention hosts, and a seat no such host serves is named and the start refused. Seats called straight to their lab are not covered. Leave it out unless the person chose; a run that began with it on keeps it. |