update_record
Modify DNS record details such as name, data, TTL, or priority for a specified domain to maintain accurate domain configurations.
Instructions
Update an existing DNS record.
Args: domain: The domain name record_id: The record ID to update name: New record name (optional) data: New record data (optional) ttl: New TTL value (optional) priority: New priority for MX/SRV records (optional)
Returns: Updated record information
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| data | No | ||
| domain | Yes | ||
| name | No | ||
| priority | No | ||
| record_id | Yes | ||
| ttl | No | 
Input Schema (JSON Schema)
{
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Data"
    },
    "domain": {
      "title": "Domain",
      "type": "string"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Name"
    },
    "priority": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Priority"
    },
    "record_id": {
      "title": "Record Id",
      "type": "string"
    },
    "ttl": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Ttl"
    }
  },
  "required": [
    "domain",
    "record_id"
  ],
  "type": "object"
}