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
| Name | Type | Description |
|---|---|---|
uuid required | string | Unique agent id |
agent_log_insights_enabled | boolean | |
allowed_domains | array | Optional list of allowed domains for the chatbot - Must use fully qualified… |
anthropic_key_uuid | string | Optional anthropic key uuid for use with anthropic models |
clear_mcp_servers | boolean | When true, removes all MCP servers from the agent. Use this instead of sending… |
conversation_logs_enabled | boolean | Optional update of conversation logs enabled |
description | string | Agent description |
instruction | string | Agent instruction. Instructions help your agent to perform its job… |
k | integer | How many results should be considered from an attached knowledge base |
max_tokens | integer | Specifies the maximum number of tokens the model can process in a single input… |
mcp_servers | array | MCP (Model Context Protocol) servers to attach to the agent |
model_provider_key_uuid | string | Optional Model Provider uuid for use with provider models |
model_router_uuid | string | |
model_uuid | string | Identifier for the foundation model. |
name | string | Agent name |
open_ai_key_uuid | string | Optional OpenAI key uuid for use with OpenAI models |
project_id | string | The id of the DigitalOcean project this agent will belong to |
provide_citations | boolean | |
reasoning_effort | string | |
retrieval_method | RETRIEVAL_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_slug | string | |
tags | array | A set of abitrary tags to organize your agent |
temperature | number | Controls the model’s creativity, specified as a number between 0 and 1. Lower… |
thinking_token_budget | integer | |
top_p | number | Defines the cumulative probability threshold for word selection, specified as… |
body_uuid | string | Unique agent id |
web_fetch_enabled | boolean | Optional. Set to true to let the agent use the built-in web_fetch tool to… |
web_search_enabled | boolean | Optional. 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:
{
"name": "digitalocean_api__genai_update_agent",
"arguments": {
"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 an agent tool with uuid set to ….