Get File Content
get_file_contentRead the text content of files stored on a MikroTik router. Specify the exact file name to retrieve its contents.
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 |
|---|---|---|---|
| name | Yes | Exact file name on the router (e.g. flash/script.rsc) | |
| routerId | No | Router ID; omit to use the default router. |