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
| Name | Type | Description |
|---|---|---|
knowledge_base_uuid required | string | Knowledge Base ID (Path Parameter) |
data_source_uuid required | string | Data Source ID (Path Parameter) |
chunking_algorithm | CHUNKING_ALGORITHM_UNKNOWN | CHUNKING_ALGORITHM_SECTION_BASED | CHUNKING_ALGORITHM_HIERARCHICAL | CHUNKING_ALGORITHM_SEMANTIC | CHUNKING_ALGORITHM_FIXED_LENGTH | |
chunking_options | object | |
body_data_source_uuid | string | Data Source ID (Path Parameter) |
body_knowledge_base_uuid | string | Knowledge 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:
{
"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:
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 ….