slurm_get_job_status
Retrieve real-time status and resource usage of a Slurm job, covering running, pending, completed, or failed states.
Instructions
Get the current status and resource usage of a specific Slurm job.
Queries squeue for running/pending jobs and falls back to sacct for completed or failed jobs.
Args: job_id: Slurm job ID. host: Slurm head node hostname (overrides SLURM_HOST). gateway_id: Gateway UUID for the target site.
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": {
"job_id": "<job_id>"
},
"name": "slurm_get_job_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| job_id | Yes | ||
| gateway_id | No |