run_until_pass
Run a test repeatedly with automatic fixes on each failure until it passes or max attempts reached.
Instructions
Run a test repeatedly, applying automatic fixes on each failure, until it passes or max attempts is reached.
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": {
"name": "<name>"
},
"name": "run_until_pass"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Test file name (with or without .spec.ts) | |
| max_attempts | No | Max run+fix iterations (default: 3, max: 5) |