trigger_eval_run
Starts a background evaluation of agent suite scenarios or recent live chats, then returns a run ID immediately for status polling.
Instructions
Fire an eval run and return its run_id immediately (background job). source=suite grades suite scenarios (optional variant overrides for model/prompt/gen-config comparisons; prompt_overrides maps a prompt to the version NUMBER to test instead of the pinned one, e.g. {"system": 3} for this agent's own instructions or {"<agent_kind>/": 3} — an entry naming no such prompt or version is refused, never ignored; repeats 1-20 for consistency; concurrency 1-8 = how many scenario attempts run at once (0 = the suite's default_context.concurrency, else EVAL_CONCURRENCY, else 4; voice_live suites always run one at a time); profile_version_id pins the run to one promoted profile snapshot, e.g. a bake-off variant — must belong to profile_id and the suite needs an evaluator model; voice_mode picks sim/live transport for a runner_kind=voice_live suite, overriding the suite's default_context.voice.mode — leave blank to use the suite default, which itself defaults to sim. live is a REAL, billable provider call and is manual-trigger-only: this tool (a human/agent calling it directly) is allowed, but a schedule or bake-off requesting live is rejected by _voice_live_guard). source=live_chats grades real recent chats — judge_model and expectations are REQUIRED there. Poll with eval_runs action=get.
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": {
"profile_id": "<profile_id>"
},
"name": "trigger_eval_run"
}
}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 |
| top_p | No | Nucleus-sampling override. | |
| source | No | suite (grade suite scenarios) | live_chats (judge sampled real chats). | suite |
| repeats | No | Run each scenario this many times (1-20). | |
| model_id | No | Variant: run with this model instead. | |
| suite_id | No | Eval suite UUID (eval_suites action=list). | |
| agent_kind | No | live_chats: agent kind to sample. | |
| profile_id | Yes | Agent profile UUID (list_profiles / get_profile). | |
| voice_mode | No | voice_live suites: sim (simulated, free) | live (real, billable provider call) | '' = suite default. | |
| business_id | No | Business to run the scenarios as. | |
| concurrency | No | Scenario attempts run at once (1-8; 0 = suite default, else 4). voice_live suites always run 1. | |
| judge_model | No | live_chats: model string of the LLM judge. | |
| sample_size | No | live_chats: how many chats to sample. | |
| temperature | No | Variant: temperature override. | |
| expectations | No | live_chats: rubric the judge grades against. | |
| lookback_days | No | live_chats: how many days of real chats to sample from. | |
| variant_label | No | Label shown for this variant in comparisons. | |
| thinking_level | No | Reasoning-effort override (minimal|low|medium|high). | |
| thinking_budget | No | Reasoning token budget override. | |
| prompt_overrides | No | Variant: {prompt_key: version_number} to run with. | |
| max_output_tokens | No | Variant: max output tokens. | |
| profile_version_id | No | Pin the run to this saved agent_profile_versions snapshot (must belong to profile_id). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |