buy_domain
Get a new domain (payment link)
Description
Buy a domain through Hermoso, priced in dollars. The registrant (firstName, lastName, email, phone +1.4155550100, address1, city, state, zip, country) owns it; WHOIS privacy is free; auto-renew is on. Without confirm:true nothing happens and you get the exact fees and the domain registration agreement to show the user; once they accept it, confirm:true with acceptRegistrationAgreement:true returns a Stripe payment link for the USER to open and pay by card (nothing is charged in the chat), and the domain registers within about a minute of paying. Needs a paid plan or bought credits. page optionally names the hosted project it is for.
Parameters
| Parameter | Type | Description |
|---|---|---|
domainrequired | string | the domain, e.g. yourbrand.com |
registrantrequired | object | who will own the domain (ICANN needs real details) |
registrant.firstNamerequired | string | |
registrant.lastNamerequired | string | |
registrant.emailrequired | string | |
registrant.phonerequired | string | +<country>.<number>, e.g. +1.4155550100 |
registrant.address1required | string | |
registrant.cityrequired | string | |
registrant.staterequired | string | |
registrant.ziprequired | string | |
registrant.countryrequired | string | two letters, e.g. US |
registrant.companyName | string | |
page | string | the hosted project this domain is for |
acceptRegistrationAgreement | boolean | true only after the user accepted the domain registration agreement |
confirm | boolean | true only after the user approved it |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/buy_domain.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"buy_domain","arguments":{"domain":"<string>","registrant":"<object>"}}}
CLI
hermoso call buy_domain --json '{"domain":"<string>","registrant":"<object>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
find_domainCheck a domain and its pricelist_domainsList bought domainsdelete_site_userDelete a hosted project's userget_domainRead a bought domainupdate_site_userDisable, enable or reset a hosted project's userset_domain_autorenewTurn domain auto-renew on or offlist_site_usersList a hosted project's usersrenew_domainRenew a domain nowset_site_email_suppressionEdit a hosted project's email suppression listtransfer_outMove a domain to another registrar