Open Context Protocol is live! 🚀 Read the launch post

getDnsDomainSoa

Get SOA information

Details

  • Method: GET
  • Path: /domains/{dns-domain}/soa
  • Operation ID: get-dns-domain-soa

Parameters

{}

Response Schema

{
  "type": "object",
  "properties": {
    "dns_soa": {
      "title": "dns-soa",
      "type": "object",
      "x-tags": [
        "dns"
      ],
      "description": "SOA Record information.",
      "x-examples": {
        "dns_soa": {
          "dns_soa": {
            "nsprimary": "ns1.vultr.com",
            "email": "admin@example.com"
          }
        }
      },
      "properties": {
        "nsprimary": {
          "type": "string",
          "description": "Primary nameserver for this domain."
        },
        "email": {
          "type": "string",
          "description": "Domain contact email address."
        }
      }
    }
  }
}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('vultr')

# Call this tool
result = await agent.call_tool('getDnsDomainSoa', {
    # Add required parameters here
})