hpc_tail_file
Read the last N lines of a file on a SLURM HPC cluster over SSH to check live job logs and debug failed batch runs.
Instructions
Last N lines of a file. Ideal for checking live SLURM job logs.
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": {
"path": "<path>"
},
"name": "hpc_tail_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path on the cluster | |
| lines | No |