domains_create
Register a Porkbun domain with a cost quote, dry-run by default, and explicit confirmations before purchase. Card payment uses an idempotency key; the payment link is not paid.
Instructions
Register a domain. cost is integer US cents matching the current quote. dry_run defaults to true and makes no API call; execution requires dry_run=false, confirm_apply=true, agree_to_terms=true, write mode and domain-create enablement. Card execution requires a saved caller-generated idempotency_key. Reuse it only for identical retries; use a new key when adding card_payment_id. This tool never pays the link.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>",
"cost": "<cost>"
},
"name": "domains_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | ||
| domain | Yes | ||
| dry_run | No | ||
| pay_with | No | ||
| confirm_apply | No | ||
| agree_to_terms | No | ||
| card_payment_id | No | ||
| idempotency_key | No |