template_save
Save reusable SLURM job templates with preset resources, partitions, and preamble commands to standardize and reuse HPC job configurations.
Instructions
Save a reusable SLURM job template
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": {
"name": "<name>"
},
"name": "template_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mem | No | ||
| gpus | No | ||
| name | Yes | Template name (e.g. "gpu-a100", "cpu-quick") | |
| time | No | ||
| preamble | No | Extra shell lines injected after HPC_PREAMBLE and before cd/the main script when this template is used | |
| partition | No | ||
| cpus_per_task | No |