cancel_job
Cancel a running or pending SLURM job by job ID, optionally specifying the cluster, to stop unwanted or queued workloads.
Instructions
Cancel a running or pending SLURM job.
Args:
job_id: SLURM job ID to cancel
cluster: Cluster name (required; see ``list_clusters``).
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": "cancel_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| cluster | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||