{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"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}`.","properties":{"path":{"type":"object","properties":{"parent_agent_uuid":{"type":"string","examples":["\"123e4567-e89b-12d3-a456-426614174000\""],"description":"A unique identifier for the parent agent."},"child_agent_uuid":{"type":"string","examples":["\"123e4567-e89b-12d3-a456-426614174000\""],"description":"Routed agent id"}},"required":["parent_agent_uuid","child_agent_uuid"],"additionalProperties":false},"body":{"$ref":"#/definitions/apiLinkAgentInputPublic"}},"required":["path"],"additionalProperties":false,"definitions":{"apiLinkAgentInputPublic":{"description":"Information for linking an agent","properties":{"child_agent_uuid":{"description":"Routed agent id","type":"string","examples":["\"12345678-1234-1234-1234-123456789012\""]},"if_case":{"type":"string","examples":["\"use this to get weather information\""]},"parent_agent_uuid":{"description":"A unique identifier for the parent agent.","type":"string","examples":["\"12345678-1234-1234-1234-123456789012\""]},"route_name":{"description":"Name of route","type":"string","examples":["\"weather_route\""]}},"type":"object"}}},"name":"Add Agent Route to an Agent","id":"digitalocean.genai_attach_agent","example":{"path":{"parent_agent_uuid":"\"123e4567-e89b-12d3-a456-426614174000\"","child_agent_uuid":"\"123e4567-e89b-12d3-a456-426614174000\""}},"maxRequests":1,"summary":false}}