invariance_eval_case_create_from_run
Create an eval case in a suite from a production run, capturing its input and output as the expected result.
Instructions
Snapshot an existing production run as a new eval case in a suite (captures the run's input + output as expected).
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": {
"suite_id": "<suite_id>",
"body": "<body>"
},
"name": "invariance_eval_case_create_from_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | CreateEvalCaseFromRunRequest as a JSON object string. Required: source_run_id (string). Optional: name (string), source_finding_id / source_signal_id (string — provenance; their evidence is copied into the case metadata), expected (object), assertions (array), mutations (array), metadata (object). Example: {"source_run_id":"run_abc123","source_signal_id":"sig_1"} | |
| suite_id | Yes |