milehost_read_file
Read file contents from a remote MileHost container to inspect code, logs, and configuration files without downloading them locally.
Instructions
Reads the complete content of a file inside the user remote container on MileHost. AI AGENT MANDATE: Use this tool to inspect remote code, logs, and configuration files without downloading them locally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Optional MileHost agent API key (mhk_...) | |
| api_url | No | Optional base URL of MileHost API | |
| file_path | Yes | Relative path of the file to read inside the remote container (e.g. bot.py, requirements.txt, .env) | |
| folder_id | No | Target server or container ID (optional if user has a single server) |