Start a run of an eval against its agent, reading the eval from the project or a preview branch and running it on the main branch, an environment or a preview branch; returns the new eval run, which finishes in the background. Requires project.evals.run.
Arguments
project_referencestring · min length 1Project identifier or slug that scopes the tool call.
eval_idstring · min length 1requiredEval to run.
source_target_kindstringSource the eval definition is read from: project or preview_branch. Defaults to project. One of
project,preview_branch.target_branch_idstring · uuid | nullPreview branch the eval definition is read from; required when source_target_kind is preview_branch.
runtime_target_kindstringRuntime the eval runs on: main_branch, environment or preview_branch. Defaults to main_branch. One of
main_branch,environment,preview_branch.target_environment_idstring · uuid | nullEnvironment the eval runs on; required when runtime_target_kind is environment.
runtime_target_branch_idstring · uuid | nullPreview branch the eval runs on, independent of the source branch; for a preview_branch runtime.
inputEval run input: any JSON value (object, array, string, number, boolean or null).
configobjectRun configuration object. Its eval_id is always set to the eval being run.
idempotency_keystring · min length 1 · max length 128Retry key for this eval run, 1–128 characters. Overrides the HTTP Idempotency-Key header. Unkeyed root calls remain supported; supply the same key to retry safely.
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__run_eval", "arguments": { "eval_id": "string" } }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"kind\":\"eval-run\",\"run_id\":\"string\",\"eval_id\":\"string\",\"status\":\"pending\",\"target_kind\":\"agent\",\"target\":\"string\",\"source\":{\"file_path\":\"string\",\"export_name\":\"string\"},\"summary\":null,\"report_path\":\"string\",\"error\":null,\"metadata\":{},\"created_at\":\"string\",\"started_at\":\"string\",\"completed_at\":\"string\"}" } ], "structuredContent": { "kind": "eval-run", "run_id": "string", "eval_id": "string", "status": "pending", "target_kind": "agent", "target": "string", "source": { "file_path": "string", "export_name": "string" }, "summary": null, "report_path": "string", "error": null, "metadata": {}, "created_at": "string", "started_at": "string", "completed_at": "string" } }}The tool ran; its output is result.structuredContent.