eval_schedules
List, create, update, delete, or trigger agent evaluation schedules, including run-now execution and cadence-based auto-firing for suite or live-chat evals.
Instructions
agent_eval_schedules CRUD + run-now. action: list | create / update (FULL replace of the schedule's config — mirrors the portal's edit form, which always resubmits every field; pass every field you want kept, not just the ones changing). profile_id, when supplied, DERIVES agent_kind via _sync_agent_kind (overriding any agent_kind also passed) the same way eval_suites binds a profile — a stale/unresolvable profile_id is ignored (falls back to whatever agent_kind was passed, if any) rather than erroring, mirroring the portal's schedule form. source=suite requires suite_id; source=live_chats requires agent_kind (directly or via profile_id) and judge_model — expectations, left blank, default to that agent_kind's standard judge rubric instead of erroring. delete (schedule_id, confirm=true) | fire (schedule_id — runs it now via the same launcher trigger_eval_run uses, then rolls last_run_at/next_run_at forward from cadence). cadence: manual | daily | weekly | monthly (next_run_at is computed from cadence; manual schedules never auto-fire).
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": {
"action": "<action>"
},
"name": "eval_schedules"
}
}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 |
| name | No | Schedule name. | |
| action | Yes | Operation to run: list | create | update | delete | fire. The tool description lists what each action needs. | |
| source | No | suite | live_chats. | suite |
| cadence | No | manual | daily | weekly. | manual |
| confirm | No | false (default) = dry run, nothing changes; true = execute. | |
| suite_id | No | Eval suite UUID (eval_suites action=list). | |
| agent_kind | No | Agent kind (derived from profile_id when given). | |
| is_enabled | No | Whether the schedule fires automatically. | |
| profile_id | No | Agent profile UUID (list_profiles / get_profile). | |
| business_id | No | Business to run as. | |
| judge_model | No | live_chats: model string of the LLM judge. | |
| sample_size | No | live_chats: how many chats to sample. | |
| schedule_id | No | agent_eval_schedules UUID. | |
| expectations | No | live_chats: rubric the judge grades against. | |
| lookback_days | No | live_chats: how many days of real chats to sample from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |