Search domain availability
search_domainsUse this when the user asks whether a domain name is available or what it costs to register: call it directly with the names, with no account and no confirmation needed. That includes a name for a site the user built, or is building, with ChatGPT Sites. Read-only availability and pricing lookup for domain names, and the first step of buying one from the chat: the call itself creates no order and charges nothing. Preferred input: domains, 1 to 200 fully-qualified names (e.g. ['acme.com', 'acme.io']); results cover exactly those domains. When every one is taken, alternatives lists any of the same labels on other endings that are available to buy here, each with a checkout_url; it is often empty. Fallback input: query, free text (one or more names, comma- or space-separated); names given without a TLD are expanded to popular TLDs (com/io/ai/co/net). Each result includes whether the domain is available, whether it is a premium name, the registration price and the renewal price. Both prices are totals for one full registration term of that ending, not per-year rates: one year on most endings, but two years on .ai, whose registry mandates a two-year term. Do not divide or multiply a returned price by a number of years. Available non-premium results also carry a checkout_url: give it to the user to buy the name, and they confirm and pay on justdomain.ai in their browser. Premium names cannot be registered through Just Domain yet and carry no checkout_url.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_domains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Free-text fallback when exact FQDNs aren't known: one or more names, comma- or space-separated. Names without a TLD are expanded to popular TLDs (com/io/ai/co/net). Ignored when `domains` is provided. | |
| domains | No | Fully-qualified domains to check, e.g. ['acme.com', 'acme.io', 'acme.ai']. Each entry must include the TLD. Maximum 200 per request. Preferred over `query`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Set when the search could not be completed (e.g. invalid query, provider failure). | |
| domains | Yes | The exact domains requested by the caller, echoed back. | |
| results | Yes | ||
| warnings | No | ||
| next_action | No | An instruction for the assistant reading this response, or the string 'none' when there is nothing extra to do. It is set in two cases. When no requested domain and no alternative in this response can be registered through Just Domain, it tells you how to search again. When at least one domain carries a `checkout_url`, it tells you to make the name of each such domain you mention in your reply a clickable link to its `checkout_url`. When it is not 'none', carry it out in this same turn before or while replying to the user; it is written to be executable as-is. | none |
| alternatives | No | Available domains the caller did not ask about, offered only when every requested domain came back unavailable. Same label the caller typed, on a different ending; nothing is invented and nothing here duplicates a name in `results`. Every entry is available, non-premium and carries a `checkout_url`, so it can be offered to the user directly. Empty is not an error. It means one of three things: recovery is switched off for this deployment, or the search was not a dead end, or the same label is taken on the other endings too, which is the normal outcome for a common dictionary word. Do not tell the user that other endings were checked unless this list is non-empty. Do not re-check these; they were checked live in this same call. | |
| error_message | No | ||
| component_hint | No | domain_search_results |