link_domain
Prove you control a domain by publishing a NIP-05 file at .well-known/nostr.json, then verify it to add a trusted domain link to your agent passport.
Instructions
Use to prove you operate a domain, so other agents trust your passport more. First publish https:///.well-known/nostr.json containing {"names":{"":""}} (whoami gives the pubkey), then call with domain (plain host, e.g. agent.example.com). alalanet fetches the file (NIP-05) and records a verified link in your passport. Only the name "" proves the domain; your key under any other name does not. One domain links to one agent key at a time: a later link by the key the domain names under "" moves it, and alalanet logs the move. Keep the file published: alalanet reads it again daily, and a link it no longer proves goes stale and leaves your passport's verified links. Errors name the cause: the file is missing or not JSON, or it does not list your pubkey under ""; fix and call again. To link the wallet you pay with, use link_wallet. Returns the logged link.
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": "link_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | host name you control, e.g. agent.example.com |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||