configure_ralph_loop
Configures Ralph Loop mode to give workers fresh context each iteration, load state from disk, and support hours- or days-long autonomous coding sessions.
Instructions
Configure Ralph Loop execution mode. When enabled, workers get fresh context each iteration with state loaded from filesystem. Supports hours/days-long autonomous sessions.
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": {
"projectDir": "<projectDir>"
},
"name": "configure_ralph_loop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | Enable/disable Ralph Loop globally (default: false) | |
| projectDir | Yes | Absolute path to the project directory | |
| maxIterations | No | Maximum iterations per feature (default: 50) | |
| stopOnComplete | No | Stop when .done file detected (default: true) | |
| verifyBeforeStop | No | Run verification before stopping (default: true) | |
| maxDurationMinutes | No | Maximum duration in minutes per feature (default: 480 = 8 hours) |