Home / Servers / DigitalOcean API / images_create_custom
Create a Custom Image
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Create a Custom Image To create a new custom image, send a POST request to /v2/images. The body must contain a url attribute pointing to a Linux virtual machine image to be imported into DigitalOcean. The image must be… [POST /v2/images]
Name on the gateway: digitalocean_api__images_create_custom · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
name required | string | The display name that has been given to an image. This is what is shown in the… |
distribution | Arch Linux | CentOS | CoreOS | Debian | Fedora | Fedora Atomic | FreeBSD | Gentoo | openSUSE | RancherOS | Rocky Linux | Ubuntu | Unknown | The name of a custom image's distribution. Currently, the valid values are… |
description | string | An optional free-form text field to describe an image. |
url required | string | A URL from which the custom Linux virtual machine image may be retrieved. The… |
region required | ams1 | ams2 | ams3 | blr1 | fra1 | lon1 | nyc1 | nyc2 | nyc3 | sfo1 | sfo2 | sfo3 | sgp1 | tor1 | syd1 | The slug identifier for the region where the resource will initially be… |
tags | array | A flat array of tag names as strings to be applied to the resource. Tag names… |
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__images_create_custom",
"arguments": {
"name": "…",
"url": "…",
"region": "…"
}
}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 create a custom image tool with name set to ….