Read Remote File
fs_readReads a file from a remote system via an active SSH session, with support for custom encoding and optional byte limit.
Instructions
Reads a file from the remote system
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": {
"sessionId": "<sessionId>",
"path": "<path>"
},
"name": "fs_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path to read | |
| encoding | No | File encoding (default: utf8) | |
| maxBytes | No | Optional per-request read size limit in bytes | |
| sessionId | Yes | SSH session ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes |