Home / Servers / DigitalOcean API / genai_update_knowledge_base

Update a Knowledge Base

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

Update a Knowledge Base To update a knowledge base, send a PUT request to /v2/gen-ai/knowledge_bases/{uuid}. [PUT /v2/gen-ai/knowledge_bases/{uuid}]

Name on the gateway: digitalocean_api__genai_update_knowledge_base · may change things.

Parameters

NameTypeDescription
uuid requiredstringKnowledge base id
database_idstringThe id of the DigitalOcean database this knowledge base will use, optional.
namestringKnowledge base name
project_idstringThe id of the DigitalOcean project this knowledge base will belong to
reranking_configobjectConfiguration for cross-encoder reranking during retrieval.
tagsarrayTags to organize your knowledge base.
body_uuidstringKnowledge base id

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_update_knowledge_base",
  "arguments": {
    "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 update a knowledge base tool with uuid set to ….

More from DigitalOcean API