Job Tools
Tools for inspecting Mission Control's background jobs, such as scrapers, notification senders and cleanup jobs, and their run history.
All job tools need the job:read action. job:read grants all job history or none, and job details can mention resources the caller can't otherwise read.
list_jobs
List the jobs scheduled on this Mission Control server, with their cron schedule, last run and next run. Use list_job_runs for execution history.
| Field | Description | Scheme |
|---|---|---|
limit | Maximum number of jobs to return. Defaults to 50, maximum 100 | number |
name | Case-insensitive partial match against the job name or its aliases |
|
resource_id | Exact resource ID filter |
|
resource_type | Exact resource type filter |
|
Example Usage
Prompt: "When does the Kubernetes scraper run next?"
Result: Returns the matching jobs with their schedule and next run time.
list_job_runs
List job run history, most recent first. Each run includes its status, success and error counts, duration and error messages. Use get_job_run for a run's full details.
| Field | Description | Scheme |
|---|---|---|
agent_id | Exact agent ID filter |
|
before | Inclusive end time, as a datemath expression e.g. |
|
has_errors | Return only runs with errors ( |
|
limit | Maximum number of runs to return. Defaults to 20, maximum 100 | number |
name | Case-insensitive partial match against the job name |
|
resource_id | Exact resource ID filter |
|
resource_type | Exact resource type filter |
|
since | Inclusive start time, as a datemath expression e.g. |
|
status | Statuses to include: |
|
Example Usage
Prompt: "Which jobs failed in the last day?"
Parameters Used:
{
"status": ["FAILED"],
"since": "now-24h"
}
Result: Returns the failed runs with their error messages.
get_job_run
Get the complete record of a job run, including its details and errors.
| Field | Description | Scheme |
|---|---|---|
id* | Job run ID, from |
|
Example Usage
Prompt: "Why did that scraper run fail?"
Result: Returns the run's full details and every error it recorded.