ssh_read_file
Read a file from an HPC cluster over SSH with optional head or tail limits, avoiding shell cat commands.
Instructions
Read a file from HPC. Use this instead of ssh_exec with cat.
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": "ssh_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| head | No | Only read first N lines | |
| path | Yes | Absolute file path on HPC | |
| tail | No | Only read last N lines |