server_read_file
Read remote text files over SSH/SCP and optionally return only a specified line range, enabling focused log or configuration inspection without downloading the whole file.
Instructions
Read a remote text file (optionally by line range).
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": "server_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| end_line | No | ||
| start_line | No |