buy_link
Generate a one-click purchase URL for a domain, letting the user complete the purchase directly on namemy.app.
Instructions
Build a one-click purchase URL the user can open to buy a domain on namemy.app. Always available (works without an API key). Use this when the user has decided on a name they like — hand them the URL and they sign up + pay in their browser.
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>"
},
"name": "buy_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Fully-qualified domain to buy, e.g. 'codeflow.ai' | |
| priceUsd | No | Optional quoted price in USD. If omitted, the checkout page will fetch the live price. |