Get File Content
get_file_contentRead the contents of a text file from a MikroTik router. Provide the router identifier and exact file name to retrieve the file's text.
Instructions
Read a text file's contents from a MikroTik router. Only suitable for text files — binary files will return garbled content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routerId | Yes | Target router identifier from the router registry | |
| name | Yes | Exact file name on the router (e.g. flash/script.rsc) |