Home / Servers / DigitalOcean API / genai_create_model_router
Create a Model Router
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Create a Model Router To create a model router, send a POST request to /v2/gen-ai/models/routers. [POST /v2/gen-ai/models/routers]
Name on the gateway: digitalocean_api__genai_create_model_router · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
description | string | Model router description |
fallback_models | array | At least one fallback model is required; order defines failover priority |
name | string | Model router name: lowercase, at most 255 characters, only a-z, 0-9, and hyphens |
policies | array | Router policies |
regions | array | DEPRECATED: this field does not affect deployment and model routers are always… |
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_create_model_router",
"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 create a model router tool with description set to ….