milehost_run_command
Execute terminal commands directly inside your remote MileHost Docker container to install dependencies, start bots, and manage files—no local scripts required.
Instructions
Executes a terminal or shell command directly inside the remote cloud Docker container on MileHost (e.g. pip install -r requirements.txt, python bot.py, npm start, node index.js, ls -la, ps aux). AI AGENT MANDATE: Do NOT attempt to write or execute local bash or python scripts to manage remote bots. Use this tool exclusively to execute all build, run, dependency installation, and management commands directly within the remote MileHost server container.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Optional MileHost agent API key (mhk_...) | |
| api_url | No | Optional base URL of MileHost API | |
| command | Yes | Shell or terminal command string to execute inside the remote MileHost container (e.g. pip install -r requirements.txt, python bot.py, npm start) | |
| folder_id | No | Target server or container ID (optional if user has a single server) |