hpc_generate_rmd_render_job
Generate an sbatch script to render an R Markdown file on a SLURM compute node, using the Rmd path and output directory.
Instructions
Generate an sbatch script that renders an R Markdown file on a compute node.
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": {
"rmd_path": "<rmd_path>",
"output_dir": "<output_dir>"
},
"name": "hpc_generate_rmd_render_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpus | No | ||
| No | |||
| rmd_path | Yes | Absolute path on the cluster | |
| walltime | No | 04:00:00 | |
| memory_gb | No | ||
| partition | No | Partition (default: cluster default) | |
| output_dir | Yes |