delegate_checked
Drafts code or text with one model, routes it to a different model family for review, applies fixes, and rechecks issues to return a verified answer with pass/fail status.
Instructions
Like delegate, but self-verifying: model A drafts, a model from a DIFFERENT family reviews it, A fixes the issues, the reviewer re-checks (up to rounds fix cycles). Returns the final answer plus FINAL STATUS (PASS/FAIL/UNREVIEWED) and any open issues. Use for important generated code or text, so you only spend tokens on a final check.
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": "delegate_checked"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | code = write/modify code · text = prose, translation, marketing copy · summarize = digest big files/docs · review = find problems · reasoning = math/logic/planning · general = anything else. Picks the best free model for it. | |
| task | Yes | Complete, self-contained instructions (see `delegate`). | |
| files | No | File paths (relative to the project or absolute) that the free model should see. They are read from disk by this server, so their content does NOT cost you tokens. Secret values (.env, keys, tokens, passwords) are masked automatically. | |
| model | No | Optional preferred drafting model (substring of provider/model). | |
| rounds | No | Max fix cycles after the first review (0-3, default 2). | |
| save_to | No | Write the result to this file instead of returning it. Use for generated code/docs so you do not re-type them. You only get a one-line confirmation; Read or diff the file to verify. | |
| overwrite | No | ||
| max_tokens | No |