read_file
Read file contents from remote systems managed through Webmin. Retrieve data as text or line arrays for system administration tasks.
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
TableJSON 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 |