Orchestrator Next Action
orchestrator_next_actionReturns the next action for an unattended AppFactory pipeline, including stage, role, retry budget, and instructions; done signals completion.
Instructions
Return the next action for the autonomous driver loop: stage, subagent role, retry budget and instructions.
Use when: running unattended. done=true means the pipeline is finished (submit still needs human approval). For a manual step use pipeline_next. Returns: {ok, done, stage, role, attempts_left, instructions}.
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": {
"app_dir": "<app_dir>"
},
"name": "orchestrator_next_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_dir | Yes | Absolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp. | |
| skip_options_check | No | If true, do not require run_options_save to have been called first. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||