ralph_loop_initialize
Starts a Ralph Loop session with a task, kicking off the worker/reviewer iterative loop for automated code development and review.
Instructions
Initialize a new Ralph Loop session with a task. Starts the iterative worker/reviewer cycle.
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": {
"task": "<task>"
},
"name": "ralph_loop_initialize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The task description for the Ralph Loop to work on | |
| sessionId | No | Unique session identifier (optional, defaults to 'default') | default |
| workerModel | No | Model for the worker phase (e.g., 'claude-3-5-sonnet', 'gpt-4o') | |
| maxIterations | No | Maximum number of iterations (default: 10) | |
| reviewerModel | No | Model for the reviewer phase (should be different from worker for cross-model review) | |
| workerProvider | No | Provider for the worker phase (e.g., 'anthropic', 'openai') | |
| reviewerProvider | No | Provider for the reviewer phase (e.g., 'anthropic', 'openai', 'google') | |
| crossModelReviewEnforced | No | Enforce cross-model review (worker and reviewer must be different) |