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

NameTypeDescription
descriptionstringModel router description
fallback_modelsarrayAt least one fallback model is required; order defines failover priority
namestringModel router name: lowercase, at most 255 characters, only a-z, 0-9, and hyphens
policiesarrayRouter policies
regionsarrayDEPRECATED: 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:

call_tool arguments
{
  "name": "digitalocean_api__genai_create_model_router",
  "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 create a model router tool with description set to ….

More from DigitalOcean API