submit_stage
Writes an external stage's answer into the run folder and resumes the run in the background once every waiting stage is answered.
Instructions
Write the answer for an external stage into the run folder, then resume the run in the background. The stage must be one external_prompt lists under waiting; the run resumes once all of them are answered. claimed_by is optional (v3 §1): a self-declared peer-session name, recorded as this stage's claim; every check here is warn-only and never blocks the write, so a caller that omits it sees exactly today's behavior. answered_model is optional: the model that wrote this answer, as you know it (for example claude-opus-5-5 or gpt-6.1). It is recorded as your own statement and is never checked; leave it out if you do not know.
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>",
"stage": "<stage>",
"content": "<content>"
},
"name": "submit_stage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | ||
| stage | Yes | ||
| content | Yes | ||
| claimed_by | No | self-declared peer-session name, recorded as this stage's claim before the answer is written | |
| session_reads | No | Optional. Project files you read yourself to write this answer, as a list of { path, lines, why }: the path in the project, the lines you read as "3-5" (leave out for the whole file), and one sentence on what you used it for. The harness cuts those lines itself, scans them for keys, and shows the text to every later seat. A claim about code you read that is not listed here stays unverified. | |
| answered_model | No | the model that wrote this answer, in your own words; recorded as declared, never verified | |
| excerpt_answers | No | Optional. Your answers to the text requests listed in this stage's prompt, as a list of { request, path, lines } to paste (request is the number in the list; path and lines default to what was asked) or { request, decline } to decline with one sentence. The harness cuts the lines itself and shows the text to every later seat. |