delimit_loop_config
Set limits and safeguards for autonomous build loops: specify max tasks, cost cap, error threshold, and approval requirements to prevent runaway processes.
Instructions
Configure the autonomous build loop safeguards (Pro).
Set limits before starting a loop session. Only non-zero/non-empty values are applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session to configure. Creates new if empty. | |
| max_iterations | No | Max tasks before stopping (default 50). | |
| cost_cap | No | Max cost in dollars before stopping (default 5.0). | |
| auto_consensus | No | If True, suggest consensus when ledger is empty. | |
| error_threshold | No | Consecutive errors before circuit breaker trips (default 3). | |
| status | No | Set loop status: running, paused, stopped. | |
| require_approval_for | No | Comma-separated list of action types requiring human approval. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||