Buy Domain
buy_domainStart buying a domain: returns a Stripe checkout_url (valid 30 min) that the USER must open and pay. Nothing is bought until they complete checkout — give them the link, never say it is purchased. With app_id it is connected to that app after payment.
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>",
"context": "<context>"
},
"name": "buy_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | 1-10, default 1 | |
| app_id | No | App to connect it to | |
| domain | Yes | e.g. 'mybakery.com' | |
| context | Yes | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. | |
| registrant | No | The domain OWNER (legal registrant) — can differ from the person paying. Ask the user for it; if omitted, the payer's billing details are used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | ||
| years | No | ||
| domain | No | ||
| currency | No | ||
| expires_at | No | ||
| checkout_url | No |