Home / Servers / DigitalOcean API / genai_attach_agent
Add Agent Route to an Agent
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Add Agent Route to an Agent To add an agent route to an agent, send a POST request to /v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}. [POST /v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}]
Name on the gateway: digitalocean_api__genai_attach_agent · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
parent_agent_uuid required | string | A unique identifier for the parent agent. |
child_agent_uuid required | string | Routed agent id |
body_child_agent_uuid | string | Routed agent id |
if_case | string | |
body_parent_agent_uuid | string | A unique identifier for the parent agent. |
route_name | string | Name of route |
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_attach_agent",
"arguments": {
"parent_agent_uuid": "…",
"child_agent_uuid": "…"
}
}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 add agent route to an agent tool with parent_agent_uuid set to ….