Read file on VPS
vps_read_fileRead file content from a VPS via SFTP. Supports utf8 (text) and base64 encoding. Text over 256 KB is shortened, keeping the start and the end; larger base64 reads fail.
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": {
"id": "<id>",
"path": "<path>"
},
"name": "vps_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The VPS ID | |
| path | Yes | Absolute path of the file to read | |
| encoding | No | Output encoding (default utf8) |