Change fields of a structured eval, such as its name, target, dataset or metrics, where an omitted field keeps its value; returns the updated eval source document. Requires project.evals.write.
Arguments
project_referencestring · min length 1Project identifier or slug that scopes the tool call.
eval_idstring · min length 1requiredProvide the eval id.
namestring · min length 1Updated eval name. Omit it to keep the name.
descriptionstringUpdated description. Omit it to keep the description.
targetstring · min length 1Updated agent identifier. Omit it to keep the target.
datasetobjectUpdated dataset. Omit it to keep the dataset.
metricsarray of objectUpdated metrics. Omit them to keep the metrics.
repetitionsintegerUpdated repetitions. Omit them to keep the value.
tagsarray of stringUpdated tags. Omit them to keep the tags.
metadataobjectUpdated metadata object. Omit it to keep the metadata.
source_target_kindstringSource to use: project or preview_branch. Defaults to project.
target_branch_idstring · uuid | nullPreview branch to use when the target kind is preview_branch.
Responses
curl -X POST -N "https://api.veryfront.com/mcp" \ -H "Authorization: Bearer $VERYFRONT_API_KEY" \ -H "Accept: application/json, text/event-stream" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "veryfront__update_eval", "arguments": { "eval_id": "string" } }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"target_kind\":\"agent\",\"target\":\"string\",\"source_path\":\"string\",\"export_name\":\"string\",\"dataset\":{\"kind\":\"inline\",\"path\":\"string\",\"examples\":[{\"id\":\"string\",\"input\":null,\"reference\":null,\"metadata\":{}}],\"editable\":false,\"dynamic\":false},\"metrics\":[{\"name\":\"string\",\"family\":\"answer\",\"severity\":\"gate\",\"threshold\":{\"min\":0,\"max\":0},\"config\":{},\"editable\":false,\"dynamic\":false}],\"repetitions\":1,\"tags\":[\"string\"],\"metadata\":{},\"editable_fields\":[\"name\"],\"dynamic_fields\":[\"name\"],\"capabilities\":[\"string\"],\"source\":\"string\",\"edit_mode\":\"structured\",\"source_only_reasons\":[\"string\"]}" } ], "structuredContent": { "id": "string", "name": "string", "description": "string", "target_kind": "agent", "target": "string", "source_path": "string", "export_name": "string", "dataset": { "kind": "inline", "path": "string", "examples": [ { "id": "string", "input": null, "reference": null, "metadata": {} } ], "editable": false, "dynamic": false }, "metrics": [ { "name": "string", "family": "answer", "severity": "gate", "threshold": { "min": 0, "max": 0 }, "config": {}, "editable": false, "dynamic": false } ], "repetitions": 1, "tags": [ "string" ], "metadata": {}, "editable_fields": [ "name" ], "dynamic_fields": [ "name" ], "capabilities": [ "string" ], "source": "string", "edit_mode": "structured", "source_only_reasons": [ "string" ] } }}The tool ran; its output is result.structuredContent.