milehost_deploy_file
Deploy a file with content directly to a remote container folder on MileHost to upload or update code and configuration files on the server.
Instructions
Deploys a file with content directly to the user remote container folder on MileHost. AI AGENT MANDATE: Use this tool to upload or update code and configuration files on the remote server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Optional MileHost agent API key (mhk_...) | |
| api_url | No | Optional base URL of MileHost API | |
| content | Yes | Complete text or code content to write to the remote file | |
| file_path | Yes | Relative path of the file to deploy (e.g. index.html, src/app.js, bot.py) | |
| folder_id | No | Target server or container ID (optional if user has a single server) |