Find a new domain to buy
search_domainsLooks up a word or a name under every ending CodeGene sells and answers, for each, whether it is free, its price for the first year and what it renews at each year, as the project's Go live screen shows them, and buyUrl: that screen, where a workspace owner or admin fills in the owner's details, agrees to the yearly renewal and buys. It buys nothing and you cannot buy for them: quote the prices exactly as returned and give the person the link. canBuy says whether this person can buy; mode test means a purchase there buys and charges nothing.
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": {
"query": "<query>",
"project_id": "<project_id>"
},
"name": "search_domains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | A word or a name, such as acmebakery or acmebakery.com. | |
| project_id | Yes | The project the domain is for (list_projects gives ids). | |
| workspace_id | No | Workspace id from whoami; omit when there is one. |