Documentation Index Fetch the complete documentation index at: https://docs.hybridbox.io/llms.txt
Use this file to discover all available pages before exploring further.
Enregistrements DNS
Lister, créer, mettre à jour et supprimer des enregistrements DNS.
Les exemples utilisent le mode code A2A. MCP expose le même mode code via son outil execute.
Fonctions
dns_records.add
dns_records.add(account_id: str, domain: str, name: str, type: str, value: str, prio?: int | null, ttl?: int) -> DNSRecord
Enregistrements DNS: dns_records.add.
Propriété Valeur Propriété Valeur Autorisation requise dns.record.createAuthentification requise ouiMode d’exécution syncCapacité dns.record.createType de ressource accountChamp d’ID de ressource account_idRoute API publique POST /v1/public/accounts/{account_id}/dns-records
Nom Type Requis account_idstroui domainstroui namestroui typestroui valuestroui prioint | nullnon ttlintnon
Champ Type Requis idintoui namestroui ttlintoui typestroui valuestroui is_system_managedboolnon priorityint | nullnon
Requête: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "dns_records.add(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , domain= \" example.com \" , name= \" <string> \" , type= \" <string> \" , value= \" <string> \" , prio=123, ttl=123)"
}
Réponse: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : 123
},
"responses" : [
{
"index" : 0 ,
"function" : "dns_records.add" ,
"status" : "completed" ,
"result" : 123
}
],
"complexity_score" : 1
}
Requête: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "dns_records.add(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , domain= \" example.com \" , name= \" <string> \" , type= \" <string> \" , value= \" <string> \" , prio=123, ttl=123)"
}
}
}
Réponse: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : 123 \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" dns_records.add \" , \n \" status \" : \" completed \" , \n \" result \" : 123 \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
dns_records.delete
dns_records.delete(account_id: str, record_id: int) -> {}
Enregistrements DNS: dns_records.delete.
Propriété Valeur Propriété Valeur Autorisation requise dns.record.deleteAuthentification requise ouiMode d’exécution syncCapacité dns.record.deleteType de ressource accountChamp d’ID de ressource account_idRoute API publique DELETE /v1/public/accounts/{account_id}/dns-records/{record_id}
Nom Type Requis account_idstroui record_idintoui
Champ Type Requis result{}oui
Requête: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "dns_records.delete(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , record_id=123)"
}
Réponse: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : {}
},
"responses" : [
{
"index" : 0 ,
"function" : "dns_records.delete" ,
"status" : "completed" ,
"result" : {}
}
],
"complexity_score" : 1
}
Requête: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "dns_records.delete(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , record_id=123)"
}
}
}
Réponse: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : {} \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" dns_records.delete \" , \n \" status \" : \" completed \" , \n \" result \" : {} \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
dns_records.list
dns_records.list(account_id: str, domain?: str | null, name?: str | null, page?: int, page_size?: int, type?: str | null) -> Page[DNSRecord]
Enregistrements DNS: dns_records.list.
Propriété Valeur Propriété Valeur Autorisation requise dns.record.viewAuthentification requise ouiMode d’exécution syncCapacité dns.record.viewType de ressource accountChamp d’ID de ressource account_idRoute API publique GET /v1/public/accounts/{account_id}/dns-records
Nom Type Requis account_idstroui domainstr | nullnon namestr | nullnon pageintnon page_sizeintnon typestr | nullnon
Champ Type Requis items[{"id": int, "name": str, "ttl": int, "type": str, "value": str, "is_system_managed"?: bool, "priority"?: int | null}]oui pageintoui page_sizeintoui totalintoui
Requête: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "dns_records.list(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , domain= \" example.com \" , name= \" <string> \" , page=123, page_size=123, type= \" <string> \" )"
}
Réponse: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : 123
},
"responses" : [
{
"index" : 0 ,
"function" : "dns_records.list" ,
"status" : "completed" ,
"result" : 123
}
],
"complexity_score" : 1
}
Requête: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "dns_records.list(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , domain= \" example.com \" , name= \" <string> \" , page=123, page_size=123, type= \" <string> \" )"
}
}
}
Réponse: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : 123 \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" dns_records.list \" , \n \" status \" : \" completed \" , \n \" result \" : 123 \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}
dns_records.update
dns_records.update(account_id: str, record_id: int, disabled?: bool | null, name?: str | null, prio?: int | null, ttl?: int | null, value?: str | null) -> DNSRecord
Enregistrements DNS: dns_records.update.
Propriété Valeur Propriété Valeur Autorisation requise dns.record.updateAuthentification requise ouiMode d’exécution syncCapacité dns.record.updateType de ressource accountChamp d’ID de ressource account_idRoute API publique PATCH /v1/public/accounts/{account_id}/dns-records/{record_id}
Nom Type Requis account_idstroui record_idintoui disabledbool | nullnon namestr | nullnon prioint | nullnon ttlint | nullnon valuestr | nullnon
Champ Type Requis idintoui namestroui ttlintoui typestroui valuestroui is_system_managedboolnon priorityint | nullnon
Requête: {
"request_id" : "example" ,
"session_id" : "session_123" ,
"code" : "dns_records.update(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , record_id=123, disabled=true, name= \" <string> \" , prio=123, ttl=123, value= \" <string> \" )"
}
Réponse: {
"request_id" : "example" ,
"status" : "completed" ,
"result" : {
"last_value" : 123
},
"responses" : [
{
"index" : 0 ,
"function" : "dns_records.update" ,
"status" : "completed" ,
"result" : 123
}
],
"complexity_score" : 1
}
Requête: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"method" : "tools/call" ,
"params" : {
"name" : "hybridbox_execute" ,
"arguments" : {
"code" : "dns_records.update(account_id= \" 3c90c3cc-0d44-4b50-8888-8dd25736052a \" , record_id=123, disabled=true, name= \" <string> \" , prio=123, ttl=123, value= \" <string> \" )"
}
}
}
Réponse: {
"jsonrpc" : "2.0" ,
"id" : "example" ,
"result" : {
"content" : [
{
"type" : "text" ,
"text" : "{ \n \" request_id \" : \" example \" , \n \" status \" : \" completed \" , \n \" result \" : { \n \" last_value \" : 123 \n }, \n \" responses \" : [ \n { \n \" index \" : 0, \n \" function \" : \" dns_records.update \" , \n \" status \" : \" completed \" , \n \" result \" : 123 \n } \n ], \n \" complexity_score \" : 1 \n }"
}
],
"isError" : false
}
}