eval_runs
Inspect evaluation run results, trace failing cases, compare runs, and report pass-rate trends, comparison matrices, or testing overviews for text and voice checks.
Instructions
Eval-run results. action: list (recent, filter suite_id/profile_id;
rows include profile_id, schedule_id, bakeoff_id, profile_version_id so
a run can be traced back to what spawned/pinned it) |
get (run_id → status, score, the schedule_id/bakeoff_id/
profile_version_id linkage, and results_summary {scenarios, passed,
failed, pass_rate, failing[]} — each failing case carries trace_ids, the
agent's own traces for it (read them with the traces tool); include_results=true adds every
scenario's full result) |
report (suite_id → pass-rate trend over days) |
compare (run_ids=[baseline, ..., latest] — 2 or more runs; run_id +
run_b still works for a pair) → every scenario labelled
held | gained | regressed | still_failing (plus new | dropped when a
scenario is missing from one side), baseline → latest run, with a
per-run vs_baseline trail and labels counts; regressions sort
first. Also runs (summaries), matrix (the portal's N-column
pass-rate / latency / cost comparison) and, for a pair, a/b. |
matrix (run_ids[] or suite_id → per-(suite,variant) and per-variant roll-up
of mean score, pass-rate, p50/p95 latency & TTFT, tokens, cost) |
overview (the portal's Testing Overview: one card per agent with its
verdict and a row per text suite plus one kind="voice" row rolling up
its voice checks — score = share of checks whose latest call passed,
target 1.0).
Voice checks are runs too: list/get/compare accept voice-check run ids
(every row carries `kind`: text | voice; a voice run's `results` are its
checked call steps). compare refuses a mix of text and voice runs.Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "eval_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Config branch: which `environment` rows of the AI config DB to read/write. staging = the editable working set (default); prod = what production serves. | staging |
| days | No | Look-back window in days. | |
| kind | No | list: text eval runs, voice-check runs (ai_voice_scenario_runs, suite_id 'voice:<slug>'), or both (default). | all |
| limit | No | list/matrix: maximum runs. | |
| run_b | No | Second run of a pair (prefer run_ids=[a, b, ...]). | |
| action | No | Operation to run: list | get | report | compare | matrix | overview. The tool description lists what each action needs. | list |
| run_id | No | Run UUID (get), or the first run of a pair. | |
| run_ids | No | Run UUIDs, in order (compare: baseline first, latest last). | |
| suite_id | No | Only runs of this suite (list/report/matrix). | |
| profile_id | No | list: only runs of this profile. | |
| include_results | No | get/compare: include every scenario's full result body (default: counts + failing scenario ids only). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |