Home / Servers / DigitalOcean API / inference_create_embedding
Create embedding
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Create embedding Create vector embeddings for one or more text inputs. OpenAI-compatible request and response. Unknown fields in the request body are rejected. There is no streaming response for this endpoint. [POST /v1/embeddings]
Name on the gateway: digitalocean_api__inference_create_embedding · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
model required | string | Model id to use for embeddings. Must match a model your account can access. |
input required | string | A single string or 1–2048 strings; each string produces one row in data, in… |
user | string | Optional end-user identifier to help with abuse monitoring. |
encoding_format | float | base64 | How embedding values are returned in each data[].embedding field. |
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__inference_create_embedding",
"arguments": {
"model": "…",
"input": "…"
}
}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 embedding tool with model set to ….