Check a prompt change before merging
check_changeCheck a changed prompt or a different model against a saved test before it is merged. Runs the candidate on the test's cases and compares it with the test's saved answers. Returns a check_id at once; call get_check for the verdict: pass, review or fail. Spends account credit, up to most_it_can_cost_usd.
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": "check_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | A name for it, such as the PR. | |
| model | No | The candidate model id. | |
| prompt | No | The candidate prompt text. | |
| system | No | The candidate system message. | |
| test_id | Yes | ||
| max_spend_usd | No | Refuse the check if it could cost more than this. | |
| baseline_model | No | Which of the test's models to compare with, if it has several. |