Home / Servers / DigitalOcean API / genai_update_agent_function

Update Function Route for an Agent

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

Update Function Route for an Agent To update the function route, send a PUT request to /v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid}. [PUT /v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid}]

Name on the gateway: digitalocean_api__genai_update_agent_function · may change things.

Parameters

NameTypeDescription
agent_uuid requiredstringAgent id
function_uuid requiredstringFunction id
body_agent_uuidstringAgent id
descriptionstringFunciton description
faas_namestringThe name of the function in the DigitalOcean functions platform
faas_namespacestringThe namespace of the function in the DigitalOcean functions platform
function_namestringFunction name
body_function_uuidstringFunction id
input_schemaobjectDescribe the input schema for the function so the agent may call it
output_schemaobjectDescribe the output schema for the function so the agent handle its response

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_function",
  "arguments": {
    "agent_uuid": "…",
    "function_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 function route for an agent tool with agent_uuid set to ….

More from DigitalOcean API