Duck Iteration
duck_iterateIteratively refine AI responses by alternating between two models: one generates, the other critiques and improves, over multiple rounds.
Instructions
Iteratively refine a response between two ducks. One generates, the other critiques/improves, alternating for multiple rounds.
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": {
"prompt": "<prompt>",
"providers": "<providers>",
"mode": "<mode>"
},
"name": "duck_iterate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | refine: each duck improves the previous response. critique-improve: alternates between critiquing and improving. | |
| prompt | Yes | The initial prompt/task to iterate on | |
| providers | Yes | Exactly 2 provider names for the ping-pong iteration | |
| iterations | No | Number of iteration rounds (default: 3, max: 10) |