Open Context Protocol is live! 🚀 Read the launch post

getDnsDomain

Get DNS Domain

Details

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

Parameters

{}

Response Schema

{
  "type": "object",
  "properties": {
    "domain": {
      "title": "domain",
      "type": "object",
      "description": "DNS Domain information.",
      "x-tags": [
        "dns"
      ],
      "x-examples": {
        "list of domains": {
          "domain": "example.com",
          "date_created": "2020-10-10T01:56:20+00:00"
        }
      },
      "properties": {
        "domain": {
          "type": "string",
          "description": "Your registered domain name."
        },
        "date_created": {
          "type": "string",
          "description": "Date the DNS Domain was created."
        },
        "dns_sec": {
          "type": "string",
          "description": "The domain's DNSSEC status\n\n* enabled\n* disabled"
        }
      }
    }
  }
}

Usage

from ocp_agent import OCPAgent

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

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