create_subdomain
Create an ENS subdomain under a domain you own by specifying the parent name, subdomain label, and private key.
Instructions
Create a subdomain under an ENS name you own
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": {
"parentName": "<parentName>",
"subdomain": "<subdomain>",
"privateKey": "<privateKey>"
},
"name": "create_subdomain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subdomain | Yes | Subdomain label (e.g., 'blog' for 'blog.example.eth') | |
| parentName | Yes | Parent ENS name (e.g., 'example.eth') | |
| privateKey | Yes | Private key of parent name owner | |
| ownerAddress | No | Owner of the subdomain (defaults to sender) | |
| resolverAddress | No | Resolver address for subdomain |