Optimise a prompt across rounds
evolve_promptUse this for multi-round prompt optimisation on a finished test. Runs several rounds of rewrites on our side against your synthetic cases and checks, keeps a rewrite only when it improves held-out pass rate, and returns immediately so you do not have to wait in one call. Check back later with get_test or open the link to read the winning prompt and model verdict. Spends credit.
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": {
"test_id": "<test_id>"
},
"name": "evolve_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Optimise against the test's checks (default) or human ratings. | |
| budget | No | How many rounds to search: quick (default) or thorough. | |
| target | No | Model id from the test to optimise for (for example a cheaper model). Defaults to the test's current top model. | |
| test_id | Yes |