abort_branch
Abort an entire branch of reasoning by returning early from an ancestor step, skipping subsequent steps and providing a reason for termination.
Instructions
Early return from an ancestor step, skipping the rest of its branch.
Use when you discover that an entire branch of reasoning is pointless — not just your step, but the ancestor that initiated it.
The target step completes with your output (it doesn't fail). The target's parent (the requestor) sees the result and decides what to do next.
Args: target_id: The ancestor step to return from. output: The result for the target step (e.g. "Approach debunked by X"). reason: Why this branch is untenable. Saved as a campaign note. step_id: Your step ID. Inferred from session if omitted.
Returns: List of skipped step IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_id | Yes | ||
| output | Yes | ||
| reason | Yes | ||
| step_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||