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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "milehost_read_file"
}
}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) |