slurm_cancel_job
Cancel a running or pending Slurm job by its job ID. Send a configurable signal, defaulting to SIGTERM, for termination.
Instructions
Cancel a running or pending Slurm job by job ID (scancel).
Write operation — recorded in the audit log.
Args: job_id: Slurm job ID to cancel. host: Slurm head node hostname (overrides SLURM_HOST). signal: Signal to send to the job (default: SIGTERM). Use SIGKILL for immediate termination. gateway_id: Gateway UUID for the target site.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| job_id | Yes | ||
| signal | No | SIGTERM | |
| gateway_id | No |