List Scheduler Jobs
scheduler_jobs_listLists the Scheduler add-on's jobs for one environment. Each job has a
type: short (Meridian sends a POST to path on the app, which must
answer within limits.short_task_deadline_seconds) or long (the
command runs on its own machine, one run at a time, for up to
limits.long_task_timeout_hours).
Each job carries its job_id, its cron (always in UTC), whether it is paused,
lock_paused (the app is unpaid) or hours_paused (a long task
waiting for the app's next long-task hours), its upcoming_runs, its
last_run and, for a long task, the active_run in progress. A run's
status is starting, running, succeeded, failed, timed_out,
out_of_memory, skipped or stopped, with a reason for a skipped or
stopped run.
long_task_hours is the app's monthly pool across all its
environments: hours used, the limit, the memory of one run, and
whether it is exhausted. Use scheduler_runs_list for a job's history
and logs_tail with source: "task" for what a long task printed.
Returns enabled: false with no jobs when the environment has no
Scheduler add-on. Takes app_id from apps_list and
environment_id from environments_list.
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": {
"app_id": "<app_id>",
"environment_id": "<environment_id>"
},
"name": "scheduler_jobs_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The app this call works on: its `app_id` uuid from `apps_list`. | |
| environment_id | Yes | The environment uuid, from `environments_list`. | |
| organization_id | No | An organisation uuid or slug. When supplied, `app_id` is resolved within that organisation and may be a slug instead of a uuid, mirroring the Meridian web app. |