Home / Servers / DigitalOcean API / genai_update_agent

Update an Agent

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

Update an Agent To update an agent, send a PUT request to /v2/gen-ai/agents/{uuid}. The response body is a JSON object containing the agent. [PUT /v2/gen-ai/agents/{uuid}]

Name on the gateway: digitalocean_api__genai_update_agent · may change things.

Parameters

NameTypeDescription
uuid requiredstringUnique agent id
agent_log_insights_enabledboolean
allowed_domainsarrayOptional list of allowed domains for the chatbot - Must use fully qualified…
anthropic_key_uuidstringOptional anthropic key uuid for use with anthropic models
clear_mcp_serversbooleanWhen true, removes all MCP servers from the agent. Use this instead of sending…
conversation_logs_enabledbooleanOptional update of conversation logs enabled
descriptionstringAgent description
instructionstringAgent instruction. Instructions help your agent to perform its job…
kintegerHow many results should be considered from an attached knowledge base
max_tokensintegerSpecifies the maximum number of tokens the model can process in a single input…
mcp_serversarrayMCP (Model Context Protocol) servers to attach to the agent
model_provider_key_uuidstringOptional Model Provider uuid for use with provider models
model_router_uuidstring
model_uuidstringIdentifier for the foundation model.
namestringAgent name
open_ai_key_uuidstringOptional OpenAI key uuid for use with OpenAI models
project_idstringThe id of the DigitalOcean project this agent will belong to
provide_citationsboolean
reasoning_effortstring
retrieval_methodRETRIEVAL_METHOD_UNKNOWN | RETRIEVAL_METHOD_REWRITE | RETRIEVAL_METHOD_STEP_BACK | RETRIEVAL_METHOD_SUB_QUERIES | RETRIEVAL_METHOD_NONE- RETRIEVAL_METHOD_UNKNOWN: The retrieval method is unknown…
router_preset_slugstring
tagsarrayA set of abitrary tags to organize your agent
temperaturenumberControls the model’s creativity, specified as a number between 0 and 1. Lower…
thinking_token_budgetinteger
top_pnumberDefines the cumulative probability threshold for word selection, specified as…
body_uuidstringUnique agent id
web_fetch_enabledbooleanOptional. Set to true to let the agent use the built-in web_fetch tool to…
web_search_enabledbooleanOptional. Set to true to let the agent use the built-in web_search tool to…

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_agent",
  "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 an agent tool with uuid set to ….

More from DigitalOcean API