Home / Servers / DigitalOcean API / genai_update_knowledge_base_data_source

Update Data Source options

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

Update Data Source options To update a data source (e.g. chunking options), send a PUT request to /v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources/{data_source_uuid}. [PUT /v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources/{data_source_uuid}]

Name on the gateway: digitalocean_api__genai_update_knowledge_base_data_source · may change things.

Parameters

NameTypeDescription
knowledge_base_uuid requiredstringKnowledge Base ID (Path Parameter)
data_source_uuid requiredstringData Source ID (Path Parameter)
chunking_algorithmCHUNKING_ALGORITHM_UNKNOWN | CHUNKING_ALGORITHM_SECTION_BASED | CHUNKING_ALGORITHM_HIERARCHICAL | CHUNKING_ALGORITHM_SEMANTIC | CHUNKING_ALGORITHM_FIXED_LENGTH
chunking_optionsobject
body_data_source_uuidstringData Source ID (Path Parameter)
body_knowledge_base_uuidstringKnowledge Base ID (Path Parameter)

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_data_source",
  "arguments": {
    "knowledge_base_uuid": "…",
    "data_source_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 data source options tool with knowledge_base_uuid set to ….

More from DigitalOcean API