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

NameTypeDescription
parent_agent_uuid requiredstringA unique identifier for the parent agent.
child_agent_uuid requiredstringRouted agent id
body_child_agent_uuidstringRouted agent id
if_casestring
body_parent_agent_uuidstringA unique identifier for the parent agent.
route_namestringName 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:

call_tool arguments
{
  "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:

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 add agent route to an agent tool with parent_agent_uuid set to ….

More from DigitalOcean API