get_job_logs
Retrieve stdout and stderr logs for a SLURM job using its job ID, optionally specifying a job name or remote cluster via SSH profile.
Instructions
Get stdout/stderr logs for a SLURM job.
Args:
job_id: SLURM job ID
job_name: Optional job name to help locate log files
transport: Cluster selector — omit / "local" for local SLURM, or an
SSH profile name to fetch logs from that remote cluster.
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": "get_job_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| job_name | No | ||
| transport | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||