DNS-Einträge
DNS-Einträge auflisten, erstellen, aktualisieren und löschen. Die Beispiele verwenden den A2A-Code-Modus. MCP stellt denselben Code-Modus über sein Toolexecute bereit.
Funktionen
dns_records.add
dns_records.add.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | dns.record.create | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | dns.record.create |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | POST /v1/public/accounts/{account_id}/dns-records |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
domain | str | ja |
name | str | ja |
type | str | ja |
value | str | ja |
prio | int | null | nein |
ttl | int | nein |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
id | int | ja |
name | str | ja |
ttl | int | ja |
type | str | ja |
value | str | ja |
is_system_managed | bool | nein |
priority | int | null | nein |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
dns_records.delete
dns_records.delete.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | dns.record.delete | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | dns.record.delete |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | DELETE /v1/public/accounts/{account_id}/dns-records/{record_id} |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
record_id | int | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
result | {} | ja |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
dns_records.list
dns_records.list.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | dns.record.view | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | dns.record.view |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | GET /v1/public/accounts/{account_id}/dns-records |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
domain | str | null | nein |
name | str | null | nein |
page | int | nein |
page_size | int | nein |
type | str | null | nein |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
items | [{"id": int, "name": str, "ttl": int, "type": str, "value": str, "is_system_managed"?: bool, "priority"?: int | null}] | ja |
page | int | ja |
page_size | int | ja |
total | int | ja |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
dns_records.update
dns_records.update.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | dns.record.update | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | dns.record.update |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | PATCH /v1/public/accounts/{account_id}/dns-records/{record_id} |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
record_id | int | ja |
disabled | bool | null | nein |
name | str | null | nein |
prio | int | null | nein |
ttl | int | null | nein |
value | str | null | nein |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
id | int | ja |
name | str | ja |
ttl | int | ja |
type | str | ja |
value | str | ja |
is_system_managed | bool | nein |
priority | int | null | nein |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort: