Home / Servers / DigitalOcean API / genai_attach_knowledge_bases
Attach Knowledge Bases to an Agent
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Attach Knowledge Bases to an Agent To attach knowledge bases to an agent, send a POST request to /v2/gen-ai/agents/{agent_uuid}/knowledge_bases [POST /v2/gen-ai/agents/{agent_uuid}/knowledge_bases]
Name on the gateway: digitalocean_api__genai_attach_knowledge_bases · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
agent_uuid required | string | A unique identifier for an agent. |
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_knowledge_bases",
"arguments": {
"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 attach knowledge bases to an agent tool with agent_uuid set to ….