advance_chain
Submit the current stage output or skip reason to advance through a staged thinking routine. Mark done for the final verified thought; resending the expected stage index returns the same response.
Instructions
Submit the current stage's result and receive the next stage. Staged chains: pass exactly one of stage_output (work done for this stage) or skip_reason (why the stage was skipped). Freeform default chain: pass each thought as stage_output; set done: true with your final verified thought. expected_stage_index guards against retries: re-sending the previous index returns the same response idempotently.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | No | Freeform only: true when this is the final, verified thought | |
| session_id | Yes | ||
| skip_reason | No | Staged chains only: reason this stage is skipped (mutually exclusive with stage_output) | |
| stage_output | No | Your output/conclusion for this stage (or your thought, for freeform) | |
| expected_stage_index | Yes | The stage index you are submitting (from the last response) |