hpc_read_file
Read a text file from a SLURM HPC cluster into context, with head/tail previews for files over 1 MB and rejection of binary files.
Instructions
Read a text file into context (≤1 MB). Larger files return a head/tail preview; binary files are refused.
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_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path on the cluster |