Home / Servers / DigitalOcean API / microvms_get_file
Download a file from a MicroVM
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Download a file from a MicroVM To read a file from a MicroVM's workload container, send a GET request to /v2/microvms/{microvm_id}/files?path= . The response body is the raw file content with a Content-Type of… [GET /v2/microvms/{microvm_id}/files]
Name on the gateway: digitalocean_api__microvms_get_file · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
microvm_id required | string | The unique ID of the MicroVM. |
path required | string | The absolute path of the file inside the workload container. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "digitalocean_api__microvms_get_file",
"arguments": {
"microvm_id": "…",
"path": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the download a file from a microvm tool with microvm_id set to ….