ftp_get_contents
Read remote file contents, with optional start and end lines to extract only needed chunks and prevent exceeding context limits.
Instructions
Read the source text of a remote file. CRITICAL: For large files, use 'startLine' and 'endLine' to extract specific chunks and prevent hitting the LLM context limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative remote path to the file. | |
| endLine | No | Optional: The last line to include (inclusive, 1-indexed). | |
| startLine | No | Optional: The first line to include in the output (1-indexed). |