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
| Name | Type | Description |
|---|---|---|
accept_hf_token_storage | boolean | Whether the caller accepts storage of their HuggingFace token for gated model… |
accept_terms_and_conditions | boolean | Whether the caller accepts the terms and conditions for importing this model |
description | string | Description of the model |
name | string | Name for the imported model |
preferred_gpu_region | string | Preferred GPU region for deployment |
source_ref | object | Reference to the original source of the model |
source_type | SOURCE_TYPE_UNSPECIFIED | SOURCE_TYPE_HUGGINGFACE | SOURCE_TYPE_SPACES_BUCKET | SOURCE_TYPE_SDK_UPLOAD | SOURCE_TYPE_FINE_TUNING | Source from which the model was imported |
tags | object | User-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:
{
"name": "digitalocean_api__genai_import_custom_model",
"arguments": {}
}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 import custom model tool with accept_hf_token_storage set to ….