Get File Content
get_file_contentRetrieve text file contents from MikroTik routers for inspection or troubleshooting. Provide the exact file name to read its content directly.
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. |