Domaines
Gérer les domaines, la vérification, l’état DNS, les clés de configuration et les espaces de travail. Les exemples utilisent le mode code A2A. MCP expose le même mode code via son outilexecute.
Fonctions
domains.delete
domains.delete(account_id: str, domain: str) -> {}
domains.delete.
| Propriété | Valeur | Propriété | Valeur |
|---|---|---|---|
| Autorisation requise | domain.delete | Authentification requise | oui |
| Mode d’exécution | sync | Capacité | domain.delete |
| Type de ressource | account | Champ d’ID de ressource | account_id |
| Route API publique | DELETE /v1/public/accounts/{account_id}/domains/{domain} |
Arguments
Arguments
| Nom | Type | Requis |
|---|---|---|
account_id | str | oui |
domain | str | oui |
Retours
Retours
| Champ | Type | Requis |
|---|---|---|
result | {} | oui |
Exemple A2A
Exemple A2A
Requête:Réponse:
{
"request_id": "example",
"session_id": "session_123",
"code": "domains.delete(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\")"
}
{
"request_id": "example",
"status": "completed",
"result": {
"last_value": {}
},
"responses": [
{
"index": 0,
"function": "domains.delete",
"status": "completed",
"result": {}
}
],
"complexity_score": 1
}
Exemple MCP
Exemple MCP
Requête:Réponse:
{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "domains.delete(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\")"
}
}
}
{
"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\": \"domains.delete\",\n \"status\": \"completed\",\n \"result\": {}\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
domains.get
domains.get(account_id: str, domain: str) -> Domain
domains.get.
| Propriété | Valeur | Propriété | Valeur |
|---|---|---|---|
| Autorisation requise | domain.view | Authentification requise | oui |
| Mode d’exécution | sync | Capacité | domain.view |
| Type de ressource | account | Champ d’ID de ressource | account_id |
| Route API publique | GET /v1/public/accounts/{account_id}/domains/{domain} |
Arguments
Arguments
| Nom | Type | Requis |
|---|---|---|
account_id | str | oui |
domain | str | oui |
Retours
Retours
| Champ | Type | Requis |
|---|---|---|
id | str | oui |
name | str | oui |
outbound_routing_ready | bool | oui |
status | str | oui |
workspace_id | str | oui |
auto_renew | bool | non |
created_at | str | null | non |
dedicated_ip_id | str | null | non |
dns_records | [{"id": int, "name": str, "ttl": int, "type": str, "value": str, "is_system_managed"?: bool, "priority"?: int | null}] | non |
inbound_tenant_external_id | str | null | non |
inbound_tenant_id | str | null | non |
inbound_tenant_name | str | null | non |
inbound_tenant_type | str | null | non |
mailboxes | [{"active": bool, "email": str, "first_name": str, "id": str, "last_name": str}] | non |
redirect_mode | "301" | "302" | "iframe" | null | non |
redirect_url | str | null | non |
tags | [{"id": str, "name": str}] | non |
updated_at | str | null | non |
Exemple A2A
Exemple A2A
Requête:Réponse:
{
"request_id": "example",
"session_id": "session_123",
"code": "domains.get(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\")"
}
{
"request_id": "example",
"status": "completed",
"result": {
"last_value": true
},
"responses": [
{
"index": 0,
"function": "domains.get",
"status": "completed",
"result": true
}
],
"complexity_score": 1
}
Exemple MCP
Exemple MCP
Requête:Réponse:
{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "domains.get(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\")"
}
}
}
{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": true\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"domains.get\",\n \"status\": \"completed\",\n \"result\": true\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
domains.health
domains.health(account_id: str, domain: str, refresh?: bool) -> Domain
domains.health.
| Propriété | Valeur | Propriété | Valeur |
|---|---|---|---|
| Autorisation requise | domain.view | Authentification requise | oui |
| Mode d’exécution | sync | Capacité | domain.view |
| Type de ressource | account | Champ d’ID de ressource | account_id |
| Route API publique | GET /v1/public/accounts/{account_id}/domains/{domain}/health |
Arguments
Arguments
| Nom | Type | Requis |
|---|---|---|
account_id | str | oui |
domain | str | oui |
refresh | bool | non |
Retours
Retours
| Champ | Type | Requis |
|---|---|---|
cache_ttl_seconds | int | oui |
cached | bool | oui |
checked_at | str | oui |
checks | {"dns": {"status": "healthy" | "warning" | "critical" | "unknown", "a"?: {"status": "healthy" | "warning" | "critical" | "unknown", "actual"?: [str] | null, "code"?: str | null, "days_remaining"?: int | null, "error"?: str | null, "expected"?: [str] | null, "expires_at"?: str | null, "issuer"?: str | null, "record"?: str | null, "records"?: [str] | null, "status_code"?: int | null} | null, "dkim"?: {"status": "healthy" | "warning" | "critical" | "unknown", "actual"?: [str] | null, "code"?: str | null, "days_remaining"?: int | null, "error"?: str | null, "expected"?: [str] | null, "expires_at"?: str | null, "issuer"?: str | null, "record"?: str | null, "records"?: [str] | null, "status_code"?: int | null} | null, "dmarc"?: {"status": "healthy" | "warning" | "critical" | "unknown", "actual"?: [str] | null, "code"?: str | null, "days_remaining"?: int | null, "error"?: str | null, "expected"?: [str] | null, "expires_at"?: str | null, "issuer"?: str | null, "record"?: str | null, "records"?: [str] | null, "status_code"?: int | null} | null, "error"?: str | null, "mx"?: {"status": "healthy" | "warning" | "critical" | "unknown", "actual"?: [str] | null, "code"?: str | null, "days_remaining"?: int | null, "error"?: str | null, "expected"?: [str] | null, "expires_at"?: str | null, "issuer"?: str | null, "record"?: str | null, "records"?: [str] | null, "status_code"?: int | null} | null, "ns"?: {"status": "healthy" | "warning" | "critical" | "unknown", "actual"?: [str] | null, "code"?: str | null, "days_remaining"?: int | null, "error"?: str | null, "expected"?: [str] | null, "expires_at"?: str | null, "issuer"?: str | null, "record"?: str | null, "records"?: [str] | null, "status_code"?: int | null} | null, "spf"?: {"status": "healthy" | "warning" | "critical" | "unknown", "actual"?: [str] | null, "code"?: str | null, "days_remaining"?: int | null, "error"?: str | null, "expected"?: [str] | null, "expires_at"?: str | null, "issuer"?: str | null, "record"?: str | null, "records"?: [str] | null, "status_code"?: int | null} | null}, "ports": {"status": "healthy" | "warning" | "critical" | "unknown", "error"?: str | null, "imap_143"?: {"status": "healthy" | "warning" | "critical" | "unknown", "actual"?: [str] | null, "code"?: str | null, "days_remaining"?: int | null, "error"?: str | null, "expected"?: [str] | null, "expires_at"?: str | null, "issuer"?: str | null, "record"?: str | null, "records"?: [str] | null, "status_code"?: int | null} | null, "imaps_993"?: {"status": "healthy" | "warning" | "critical" | "unknown", "actual"?: [str] | null, "code"?: str | null, "days_remaining"?: int | null, "error"?: str | null, "expected"?: [str] | null, "expires_at"?: str | null, "issuer"?: str | null, "record"?: str | null, "records"?: [str] | null, "status_code"?: int | null} | null, "smtp_25"?: {"status": "healthy" | "warning" | "critical" | "unknown", "actual"?: [str] | null, "code"?: str | null, "days_remaining"?: int | null, "error"?: str | null, "expected"?: [str] | null, "expires_at"?: str | null, "issuer"?: str | null, "record"?: str | null, "records"?: [str] | null, "status_code"?: int | null} | null, "submission_587"?: {"status": "healthy" | "warning" | "critical" | "unknown", "actual"?: [str] | null, "code"?: str | null, "days_remaining"?: int | null, "error"?: str | null, "expected"?: [str] | null, "expires_at"?: str | null, "issuer"?: str | null, "record"?: str | null, "records"?: [str] | null, "status_code"?: int | null} | null}, "ssl": {"status": "healthy" | "warning" | "critical" | "unknown", "actual"?: [str] | null, "code"?: str | null, "days_remaining"?: int | null, "error"?: str | null, "expected"?: [str] | null, "expires_at"?: str | null, "issuer"?: str | null, "record"?: str | null, "records"?: [str] | null, "status_code"?: int | null}, "web": {"status": "healthy" | "warning" | "critical" | "unknown", "error"?: str | null, "http_root"?: {"status": "healthy" | "warning" | "critical" | "unknown", "actual"?: [str] | null, "code"?: str | null, "days_remaining"?: int | null, "error"?: str | null, "expected"?: [str] | null, "expires_at"?: str | null, "issuer"?: str | null, "record"?: str | null, "records"?: [str] | null, "status_code"?: int | null} | null, "http_www"?: {"status": "healthy" | "warning" | "critical" | "unknown", "actual"?: [str] | null, "code"?: str | null, "days_remaining"?: int | null, "error"?: str | null, "expected"?: [str] | null, "expires_at"?: str | null, "issuer"?: str | null, "record"?: str | null, "records"?: [str] | null, "status_code"?: int | null} | null, "https_root"?: {"status": "healthy" | "warning" | "critical" | "unknown", "actual"?: [str] | null, "code"?: str | null, "days_remaining"?: int | null, "error"?: str | null, "expected"?: [str] | null, "expires_at"?: str | null, "issuer"?: str | null, "record"?: str | null, "records"?: [str] | null, "status_code"?: int | null} | null, "https_www"?: {"status": "healthy" | "warning" | "critical" | "unknown", "actual"?: [str] | null, "code"?: str | null, "days_remaining"?: int | null, "error"?: str | null, "expected"?: [str] | null, "expires_at"?: str | null, "issuer"?: str | null, "record"?: str | null, "records"?: [str] | null, "status_code"?: int | null} | null}} | oui |
domain_id | str | oui |
domain_name | str | oui |
summary_status | "healthy" | "warning" | "critical" | "unknown" | oui |
timings_ms | {} | oui |
Exemple A2A
Exemple A2A
Requête:Réponse:
{
"request_id": "example",
"session_id": "session_123",
"code": "domains.health(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", refresh=true)"
}
{
"request_id": "example",
"status": "completed",
"result": {
"last_value": 123
},
"responses": [
{
"index": 0,
"function": "domains.health",
"status": "completed",
"result": 123
}
],
"complexity_score": 1
}
Exemple MCP
Exemple MCP
Requête:Réponse:
{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "domains.health(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", refresh=true)"
}
}
}
{
"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\": \"domains.health\",\n \"status\": \"completed\",\n \"result\": 123\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
domains.list
domains.list(account_id: str, page?: int, page_size?: int, search?: str | null, workspace_id?: str | null) -> Page[Domain]
domains.list.
| Propriété | Valeur | Propriété | Valeur |
|---|---|---|---|
| Autorisation requise | domain.view | Authentification requise | oui |
| Mode d’exécution | sync | Capacité | domain.view |
| Type de ressource | account | Champ d’ID de ressource | account_id |
| Route API publique | GET /v1/public/accounts/{account_id}/domains |
Arguments
Arguments
| Nom | Type | Requis |
|---|---|---|
account_id | str | oui |
page | int | non |
page_size | int | non |
search | str | null | non |
workspace_id | str | null | non |
Retours
Retours
| Champ | Type | Requis |
|---|---|---|
items | [{"id": str, "name": str, "outbound_routing_ready": bool, "status": str, "workspace_id": str, "auto_renew"?: bool, "created_at"?: str | null, "dedicated_ip_id"?: str | null, "inbound_tenant_external_id"?: str | null, "inbound_tenant_id"?: str | null, "inbound_tenant_name"?: str | null, "inbound_tenant_type"?: str | null, "redirect_mode"?: "301" | "302" | "iframe" | null, "redirect_url"?: str | null, "tags"?: [{"id": str, "name": str}], "updated_at"?: str | null}] | oui |
page | int | oui |
page_size | int | oui |
total | int | oui |
Exemple A2A
Exemple A2A
Requête:Réponse:
{
"request_id": "example",
"session_id": "session_123",
"code": "domains.list(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", page=123, page_size=123, search=\"<string>\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
{
"request_id": "example",
"status": "completed",
"result": {
"last_value": true
},
"responses": [
{
"index": 0,
"function": "domains.list",
"status": "completed",
"result": true
}
],
"complexity_score": 1
}
Exemple MCP
Exemple MCP
Requête:Réponse:
{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "domains.list(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", page=123, page_size=123, search=\"<string>\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
}
}
{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": true\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"domains.list\",\n \"status\": \"completed\",\n \"result\": true\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
domains.move
domains.move(account_id: str, domain: str, target_workspace_id: str) -> Domain
domains.move.
| Propriété | Valeur | Propriété | Valeur |
|---|---|---|---|
| Autorisation requise | domain.move | Authentification requise | oui |
| Mode d’exécution | sync | Capacité | domain.move |
| Type de ressource | workspace | Champ d’ID de ressource | target_workspace_id |
| Route API publique | POST /v1/public/accounts/{account_id}/domains/{domain}/move |
Arguments
Arguments
| Nom | Type | Requis |
|---|---|---|
account_id | str | oui |
domain | str | oui |
target_workspace_id | str | oui |
Retours
Retours
| Champ | Type | Requis |
|---|---|---|
account_id | str | oui |
domain_id | str | oui |
domain_name | str | oui |
from_workspace_id | str | oui |
reconciled | {"linked_records_changed"?: int} | oui |
to_workspace_id | str | oui |
status | str | non |
Exemple A2A
Exemple A2A
Requête:Réponse:
{
"request_id": "example",
"session_id": "session_123",
"code": "domains.move(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", target_workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
{
"request_id": "example",
"status": "completed",
"result": {
"last_value": 123
},
"responses": [
{
"index": 0,
"function": "domains.move",
"status": "completed",
"result": 123
}
],
"complexity_score": 1
}
Exemple MCP
Exemple MCP
Requête:Réponse:
{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "domains.move(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", target_workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
}
}
{
"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\": \"domains.move\",\n \"status\": \"completed\",\n \"result\": 123\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
domains.purchase
domains.purchase(account_id: str, contact_info: {"address_1": str, "city": str, "country": str, "email": str, "first_name": str, "last_name": str, "organization": str, "phone": str, "state": str, "zip": str}, domains: [str], workspace_id: str) -> Domain
domains.purchase.
| Propriété | Valeur | Propriété | Valeur |
|---|---|---|---|
| Autorisation requise | domain.purchase | Authentification requise | oui |
| Mode d’exécution | sync | Capacité | domain.purchase |
| Type de ressource | account | Champ d’ID de ressource | account_id |
| Route API publique | POST /v1/public/accounts/{account_id}/domains/purchase |
Arguments
Arguments
| Nom | Type | Requis |
|---|---|---|
account_id | str | oui |
contact_info | {"address_1": str, "city": str, "country": str, "email": str, "first_name": str, "last_name": str, "organization": str, "phone": str, "state": str, "zip": str} | oui |
domains | [str] | oui |
workspace_id | str | oui |
Retours
Retours
| Champ | Type | Requis |
|---|---|---|
results | [{"domain_name": str, "status": str, "error"?: str | null, "error_code"?: str | null, "id"?: str | null}] | oui |
currency | str | null | non |
estimated_total | str | null | non |
failed_count | int | non |
payment_url | str | null | non |
purchase_batch_id | str | null | non |
successful_count | int | non |
Exemple A2A
Exemple A2A
Requête:Réponse:
{
"request_id": "example",
"session_id": "session_123",
"code": "domains.purchase(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", contact_info=\"<string>\", domains=\"example.com\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
{
"request_id": "example",
"status": "completed",
"result": {
"last_value": "<string>"
},
"responses": [
{
"index": 0,
"function": "domains.purchase",
"status": "completed",
"result": "<string>"
}
],
"complexity_score": 1
}
Exemple MCP
Exemple MCP
Requête:Réponse:
{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "domains.purchase(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", contact_info=\"<string>\", domains=\"example.com\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
}
}
{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": \"<string>\"\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"domains.purchase\",\n \"status\": \"completed\",\n \"result\": \"<string>\"\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
domains.search
domains.search(account_id: str, domains: [str], workspace_id: str) -> list[Domain]
domains.search.
| Propriété | Valeur | Propriété | Valeur |
|---|---|---|---|
| Autorisation requise | domain.create | Authentification requise | oui |
| Mode d’exécution | sync | Capacité | domain.create |
| Type de ressource | account | Champ d’ID de ressource | account_id |
| Route API publique | GET /v1/public/accounts/{account_id}/domains/search |
Arguments
Arguments
| Nom | Type | Requis |
|---|---|---|
account_id | str | oui |
domains | [str] | oui |
workspace_id | str | oui |
Retours
Retours
| Champ | Type | Requis |
|---|---|---|
available | bool | oui |
domain | str | oui |
price | str | oui |
alternatives | [{"domain": str, "price": str, "available"?: bool, "currency"?: str, "is_premium"?: bool, "is_suggestion"?: bool}] | non |
currency | str | non |
is_premium | bool | non |
is_suggestion | bool | non |
unavailable_reason | str | null | non |
Exemple A2A
Exemple A2A
Requête:Réponse:
{
"request_id": "example",
"session_id": "session_123",
"code": "domains.search(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domains=\"example.com\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
{
"request_id": "example",
"status": "completed",
"result": {
"last_value": true
},
"responses": [
{
"index": 0,
"function": "domains.search",
"status": "completed",
"result": true
}
],
"complexity_score": 1
}
Exemple MCP
Exemple MCP
Requête:Réponse:
{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "domains.search(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domains=\"example.com\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
}
}
{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": true\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"domains.search\",\n \"status\": \"completed\",\n \"result\": true\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
domains.update
domains.update(account_id: str, domain: str, auto_renew?: bool | null, redirect_mode?: "301" | "302" | "iframe" | null, redirect_url?: str | null, workspace_id?: str | null) -> Domain
domains.update.
| Propriété | Valeur | Propriété | Valeur |
|---|---|---|---|
| Autorisation requise | domain.update | Authentification requise | oui |
| Mode d’exécution | sync | Capacité | domain.update |
| Type de ressource | account | Champ d’ID de ressource | account_id |
| Route API publique | PATCH /v1/public/accounts/{account_id}/domains/{domain} |
Arguments
Arguments
| Nom | Type | Requis |
|---|---|---|
account_id | str | oui |
domain | str | oui |
auto_renew | bool | null | non |
redirect_mode | "301" | "302" | "iframe" | null | non |
redirect_url | str | null | non |
workspace_id | str | null | non |
Retours
Retours
| Champ | Type | Requis |
|---|---|---|
auto_renew | bool | oui |
id | str | oui |
workspace_id | str | oui |
redirect_mode | "301" | "302" | "iframe" | null | non |
redirect_url | str | null | non |
Exemple A2A
Exemple A2A
Requête:Réponse:
{
"request_id": "example",
"session_id": "session_123",
"code": "domains.update(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", auto_renew=true, redirect_mode=\"<string>\", redirect_url=\"<string>\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
{
"request_id": "example",
"status": "completed",
"result": {
"last_value": true
},
"responses": [
{
"index": 0,
"function": "domains.update",
"status": "completed",
"result": true
}
],
"complexity_score": 1
}
Exemple MCP
Exemple MCP
Requête:Réponse:
{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "domains.update(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", auto_renew=true, redirect_mode=\"<string>\", redirect_url=\"<string>\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
}
}
{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": true\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"domains.update\",\n \"status\": \"completed\",\n \"result\": true\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
domains.verify
domains.verify(account_id: str, domain: str) -> Domain
domains.verify.
| Propriété | Valeur | Propriété | Valeur |
|---|---|---|---|
| Autorisation requise | domain.verify | Authentification requise | oui |
| Mode d’exécution | sync | Capacité | domain.verify |
| Type de ressource | account | Champ d’ID de ressource | account_id |
| Route API publique | POST /v1/public/accounts/{account_id}/domains/{domain}/verify |
Arguments
Arguments
| Nom | Type | Requis |
|---|---|---|
account_id | str | oui |
domain | str | oui |
Retours
Retours
| Champ | Type | Requis |
|---|---|---|
actual_nameservers | [str] | oui |
domain_id | str | oui |
expected_nameservers | [str] | oui |
message | str | oui |
status | str | oui |
verified | bool | oui |
missing_nameservers | [str] | non |
unexpected_nameservers | [str] | non |
Exemple A2A
Exemple A2A
Requête:Réponse:
{
"request_id": "example",
"session_id": "session_123",
"code": "domains.verify(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\")"
}
{
"request_id": "example",
"status": "completed",
"result": {
"last_value": true
},
"responses": [
{
"index": 0,
"function": "domains.verify",
"status": "completed",
"result": true
}
],
"complexity_score": 1
}
Exemple MCP
Exemple MCP
Requête:Réponse:
{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "domains.verify(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\")"
}
}
}
{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": true\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"domains.verify\",\n \"status\": \"completed\",\n \"result\": true\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}