Get Latest Run Details by Job Name
get_job_run_details_by_nameFind a job by matching its name and retrieve the full details of its most recent run, including optional per-node results. Returns an error if the name matches zero or multiple jobs.
Instructions
Fuzzy-match a single environment job by name and return the full details of its most recent run (and optionally run results). Errors if the name matches zero or multiple jobs — use find_jobs_by_name first to disambiguate.
Looks at the last 50 runs in the environment to find the job's latest run. Older runs are not considered.
Args:
environmentID (string, required): The environment ID
jobName (string, required): Substring to match (case-insensitive). Must match exactly one job.
includeResults (boolean, optional): Include per-node run results (default true)
Returns: { job, run, results? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobName | Yes | Substring to match against job names (case-insensitive). Must match exactly one job. | |
| environmentID | Yes | The environment ID | |
| includeResults | No | Include per-node run results (default true) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||