milehost_delete_file
Deletes a file or directory inside a remote MileHost container. Use it to remove obsolete files or clean up directories on the server.
Instructions
Deletes a file or directory inside the user remote container on MileHost. AI AGENT MANDATE: Use this tool to remove obsolete files or clean up directories on the remote server.
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_delete_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 or directory to delete inside the remote container | |
| folder_id | No | Target server or container ID (optional if user has a single server) |