Edit test case
test_case_editEdits supplied question/rubric; question changes invalidate old answers and grades.
No revision CAS exists. test_case_read shows state after response loss.
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": {
"agent_id": "<agent_id>",
"case_id": "<case_id>",
"data": "<data>"
},
"name": "test_case_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Changes to the saved test question and required or advisory conditions. | |
| case_id | Yes | Saved test case ID from test_cases_list or test_case_create. | |
| agent_id | Yes | Agent ID from agents_list or agent_create. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| origin | No | ||
| question | Yes | ||
| created_at | Yes | ||
| evaluation | No | ||
| last_run_at | No | ||
| draft_answer | No | ||
| expectations | No | ||
| last_attempt | No | ||
| draft_revision | No | ||
| answer_freshness | No | ||
| published_answer | No | ||
| freshness_reasons | No | ||
| published_version | No | ||
| evaluation_current | No | ||
| evaluation_criteria | No | ||
| advisory_expectations | No | ||
| draft_source_versions | No | ||
| image_evidence_available | No |