external_prompt
Fetch the exact system and user prompt a paused run needs for an external stage, optionally paged for long prompts, so you can answer it and let the run resume.
Instructions
When a run is paused at an external seat: the exact system and user prompt that stage needs answered. A long prompt can be read in pages: pass max_chars (500 or more) and part (from 1); the answer says part, parts and total_chars. A run can wait on several stages at once (e.g. a panel of external critics): waiting lists them all; pass stage to get another one's prompt. Answer each with submit_stage; the run resumes once none is left.
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": "external_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | ||
| part | No | which page to return, counting from 1; needs max_chars | |
| stage | No | which waiting stage to return; defaults to the first in `waiting` | |
| max_chars | No | read a long prompt in pages of at most this many characters (500 or more); the answer says part, parts and total_chars. Leave out for the whole prompt |