Home / Servers / DigitalOcean API / genai_create_agent
Create an Agent
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Create an Agent To create a new agent, send a POST request to /v2/gen-ai/agents. The response body contains a JSON object with the newly created agent object. [POST /v2/gen-ai/agents]
Name on the gateway: digitalocean_api__genai_create_agent · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
anthropic_key_uuid | string | Optional Anthropic API key ID to use with Anthropic models |
description | string | A text description of the agent, not used in inference |
instruction | string | Agent instruction. Instructions help your agent to perform its job… |
knowledge_base_uuid | array | Ids of the knowledge base(s) to attach to the agent |
mcp_servers | array | MCP (Model Context Protocol) servers to attach to the agent |
model_provider_key_uuid | string | |
model_router_uuid | string | |
model_uuid | string | Identifier for the foundation model. |
name | string | Agent name |
open_ai_key_uuid | string | Optional OpenAI API key ID to use with OpenAI models |
project_id | string | The id of the DigitalOcean project this agent will belong to |
reasoning_effort | string | |
region | string | The DigitalOcean region to deploy your agent in |
router_preset_slug | string | |
tags | array | Agent tag to organize related resources |
thinking_token_budget | integer | |
web_fetch_enabled | boolean | Whether the agent can use the built-in web_fetch tool to retrieve content from… |
web_search_enabled | boolean | Whether the agent can use the built-in web_search tool to search the public… |
workspace_uuid | string | Identifier for the workspace |
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_agent",
"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 an agent tool with anthropic_key_uuid set to ….