submit_job
Submit asynchronous or fan-out jobs without waiting. Use for long-running commands that need to continue after disconnection, with queueing and Slurm support.
Instructions
Explicitly submit one asynchronous or fan-out job without waiting.
Omitted backend and host values use the Awaitless configuration defaults. Reuse client_request_id only when retrying the same logical submission; an identical retry returns the original job and a conflicting retry is rejected. A named queue provides FIFO, non-preemptive admission for local or SSH work. Slurm options may contain account, constraint, cpus_per_task, gres, mem, nodes, ntasks, partition, qos, or time. Cluster config supplies defaults.
Do not use this as the default for a single command with uncertain duration; use run. Do not use it for MCP Tasks creation; use run_job. Do not resubmit merely because a client disconnected or a wait timed out: keep the original job_id, or retry the identical logical submission with the same client_request_id if the creation response was lost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| env | No | ||
| host | No | ||
| name | No | ||
| queue | No | ||
| backend | No | ||
| command | Yes | ||
| artifacts | No | ||
| resources | No | ||
| capture_logs | No | ||
| slurm_options | No | ||
| timeout_seconds | No | ||
| client_request_id | No | ||
| stall_timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||