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? }
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": {
"environmentID": "<environmentID>",
"jobName": "<jobName>"
},
"name": "get_job_run_details_by_name"
}
}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 | |||