read_file
Read file contents from a remote system. Return content as a string or as an array of lines. Provide the absolute file path; optionally specify server alias and set as_lines flag.
Instructions
Read the contents of a file from the remote system. Can return content as a string or as an array of lines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server alias (e.g., 'pi1', 'web-server'). Uses default server if not specified. | |
| path | Yes | Absolute path to the file to read | |
| as_lines | No | If true, return content as array of lines |