{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To update an evaluation test-case send a PUT request to `/v2/gen-ai/evaluation_test_cases/{test_case_uuid}`.","properties":{"path":{"type":"object","properties":{"test_case_uuid":{"type":"string","examples":["\"123e4567-e89b-12d3-a456-426614174000\""],"description":"Test-case UUID to update"}},"required":["test_case_uuid"],"additionalProperties":false},"body":{"$ref":"#/definitions/apiUpdateEvaluationTestCaseInputPublic"}},"required":["path"],"additionalProperties":false,"definitions":{"apiUpdateEvaluationTestCaseInputPublic":{"properties":{"dataset_uuid":{"description":"Dataset against which the test‑case is executed.","type":"string","examples":["123e4567-e89b-12d3-a456-426614174000"]},"description":{"description":"Description of the test case.","type":"string","examples":["example string"]},"metrics":{"$ref":"#/definitions/apiEvaluationTestCaseMetricList"},"name":{"description":"Name of the test case.","type":"string","examples":["example name"]},"star_metric":{"$ref":"#/definitions/apiStarMetric"},"test_case_uuid":{"description":"Test-case UUID to update","type":"string","examples":["123e4567-e89b-12d3-a456-426614174000"]}},"type":"object"},"apiEvaluationTestCaseMetricList":{"properties":{"metric_uuids":{"items":{"type":"string","examples":["example string"]},"type":"array","examples":[["example string"]]}},"type":"object"},"apiStarMetric":{"properties":{"metric_uuid":{"type":"string","examples":["123e4567-e89b-12d3-a456-426614174000"]},"name":{"type":"string","examples":["example name"]},"success_threshold":{"description":"The success threshold for the star metric.\nThis is a value that the metric must reach to be considered successful.","type":"number","examples":[123]},"success_threshold_pct":{"description":"The success threshold for the star metric.\nThis is a percentage value between 0 and 100.","type":"integer","examples":[123]}},"type":"object"}}},"name":"Update an Evaluation Test Case.","id":"digitalocean.genai_update_evaluation_test_case","example":{"path":{"test_case_uuid":"\"123e4567-e89b-12d3-a456-426614174000\""}},"maxRequests":1,"summary":false}}