Read Remote File
fs_readRead a file from a remote server via SSH. Provide the session ID and file path to retrieve its contents.
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 |
|---|---|---|---|
| sessionId | Yes | SSH session ID | |
| path | Yes | File path to read | |
| encoding | No | File encoding (default: utf8) | |
| maxBytes | No | Optional per-request read size limit in bytes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||