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

NameTypeDescription
microvm_id requiredstringThe unique ID of the MicroVM.
path requiredstringThe 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:

call_tool arguments
{
  "name": "digitalocean_api__microvms_get_file",
  "arguments": {
    "microvm_id": "…",
    "path": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
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 ….

More from DigitalOcean API