Home / Servers / DigitalOcean API / functions_update_trigger

Update Trigger

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

Update Trigger Updates the details of the given trigger. To update a trigger, send a PUT request to /v2/functions/namespaces/$NAMESPACE_ID/triggers/$TRIGGER_NAME with new values for the is_enabled or… [PUT /v2/functions/namespaces/{namespace_id}/triggers/{trigger_name}]

Name on the gateway: digitalocean_api__functions_update_trigger · may change things.

Parameters

NameTypeDescription
namespace_id requiredstringThe ID of the namespace to be managed.
trigger_name requiredstringThe name of the trigger to be managed.
is_enabledbooleanIndicates weather the trigger is paused or unpaused.
scheduled_detailsobjectTrigger details for SCHEDULED type, where body is optional.

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__functions_update_trigger",
  "arguments": {
    "namespace_id": "…",
    "trigger_name": "…"
  }
}

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 trigger tool with namespace_id set to ….

More from DigitalOcean API