ftp_read
Read the contents of a remote text file from an FTP/FTPS/SFTP server by providing the connection name and file path. Set an optional maximum size to avoid loading large files.
Instructions
Read the contents of a remote text file
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": {
"connection": "<connection>",
"path": "<path>"
},
"name": "ftp_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Remote file path | |
| maxSize | No | Maximum file size in bytes to read (default: 1MB) | |
| connection | Yes | Connection name |