Home / Servers / DigitalOcean API / domains_patch_record
Update a Domain Record
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Update a Domain Record To update an existing record, send a PATCH request to /v2/domains/$DOMAIN_NAME/records/$DOMAIN_RECORD_ID. Any attribute valid for the record type can be set to a new value for the record. See the… [PATCH /v2/domains/{domain_name}/records/{domain_record_id}]
Name on the gateway: digitalocean_api__domains_patch_record · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
domain_name required | string | The name of the domain itself. |
domain_record_id required | integer | The unique identifier of the domain record. |
id | integer | A unique identifier for each domain record. |
type required | string | The type of the DNS record. For example: A, CNAME, TXT, ... |
name | string | The host name, alias, or service being defined by the record. |
data | string | Variable data depending on record type. For example, the "data" value for an A… |
priority | integer | The priority for SRV and MX records. |
port | integer | The port for SRV records. |
ttl | integer | This value is the time to live for the record, in seconds. This defines the… |
weight | integer | The weight for SRV records. |
flags | integer | An unsigned integer between 0-255 used for CAA records. |
tag | string | The parameter tag for CAA records. Valid values are "issue", "issuewild", or… |
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__domains_patch_record",
"arguments": {
"domain_name": "…",
"domain_record_id": 0,
"type": "…"
}
}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 a domain record tool with domain_name set to ….