ftp_list
List files and directories in a remote FTP or SFTP path. Use limit and offset for pagination to handle large directories.
Instructions
List files and directories in a remote path. Use 'limit' and 'offset' for pagination when dealing with directories containing hundreds of files to avoid context overflow.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ftp_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Remote directory path (defaults to current working directory). | . |
| limit | No | Maximum results to return in this chunk. | |
| offset | No | Starting position in the file list for pagination. |