Home / Servers / DigitalOcean API / genai_import_custom_model

Import Custom Model

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

Import Custom Model To import a custom model, send a POST request to /v2/gen-ai/custom_models/import. [POST /v2/gen-ai/custom_models/import]

Name on the gateway: digitalocean_api__genai_import_custom_model · may change things.

Parameters

NameTypeDescription
accept_hf_token_storagebooleanWhether the caller accepts storage of their HuggingFace token for gated model…
accept_terms_and_conditionsbooleanWhether the caller accepts the terms and conditions for importing this model
descriptionstringDescription of the model
namestringName for the imported model
preferred_gpu_regionstringPreferred GPU region for deployment
source_refobjectReference to the original source of the model
source_typeSOURCE_TYPE_UNSPECIFIED | SOURCE_TYPE_HUGGINGFACE | SOURCE_TYPE_SPACES_BUCKET | SOURCE_TYPE_SDK_UPLOAD | SOURCE_TYPE_FINE_TUNINGSource from which the model was imported
tagsobjectUser-defined tags for organizing models

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__genai_import_custom_model",
  "arguments": {}
}

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 import custom model tool with accept_hf_token_storage set to ….

More from DigitalOcean API