request_user_decision
Escalate a genuine architectural fork or unsolvable problem to the user.
Reserve this for choices the user must make. Anything the owner cannot
act on is scope="platform": the installer driver could not click
through the installer, there is no trusted installer manifest, the
session VM never came up, or no engine will run. Those go to
OpenFactory operators: the severity is always destructive, the build and
the goal stop until an operator answers, and the owner is neither mailed
nor asked. Never ask the owner to waive a verification phase or to supply
a new build or build id.
The response tells you whether anyone is actually waiting, and there are only two cases:
status: auto_defaulted— ALREADY ANSWERED.answer.option_idis the option to build; keep working, and never sleep or poll on it. A minor decision that carries arecommendation_option_idcomes back this way immediately: your recommendation is the answer, so the build does not pause for it andtimeout_atis null because there is no window. A major decision still gets its window.status: pending— a person genuinely has to answer. Finish any deferrable work, then STOP cleanly WITHOUT reporting update_record failed; the platform parks the build as waiting for input.WHO RESUMES YOU DEPENDS ON WHO IS DRIVING. A session OpenFactory launched is woken with the answer, so stopping is all it has to do. If you are driving this build yourself from your own MCP client, nobody wakes you, because no platform agent was started for it: poll
get_build_statusuntildecision_answers[<decision_id>]appears, and resume from there. The response tells you which case you are in — it carriesrecommended_next_toolonly in the second. Either way, do not wait it out inside one call.
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": {
"build_id": "<build_id>",
"question": "<question>",
"options": "<options>"
},
"name": "request_user_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | architecture_fork | unsolvable | clarification. | architecture_fork |
| scope | No | build | platform. "platform": the blocker is the platform (installer driver, verifier, judge budget, engine); the question goes to OpenFactory operators, the owner is not asked, and the goal waits for an operator. | build |
| api_key | No | OpenFactory MCP API key (optional). | |
| context | No | Short markdown context shown on the card. | |
| options | Yes | 2-6 options: [{id, label, description, route?}]. | |
| build_id | Yes | The build the decision belongs to. | |
| question | Yes | The fork or problem, phrased for the user. | |
| severity | No | minor | major | destructive. The server coerces UP (unset, no recommendation, drop-scope options, unsolvable → destructive). | |
| session_token | No | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. | |
| recommendation_option_id | No | Which option you would pick — required for a minor/major decision to auto-proceed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||