Get a test's recommended model
get_recommendationWhich model a saved test's answers point to: the model to use, its pass rate and cost per 1,000 answers, the runner-up, the best-passing model, the prompt version and hash it was measured on, any retirement date, when the test last ran, and whether prices or models have changed since. Send prompt_hash to hear whether it is the prompt you run now. Read from stored answers: runs nothing, free.
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": "get_recommendation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_id | Yes | ||
| prompt_hash | No | Your own prompt's hash (sha256:..., as /docs/api defines it), to get back prompt_matches. |