resolve_lexicon
Resolve an ATProtocol lexicon by NSID: find the DID named by the _lexicon TXT record of the NSID's authority and read that DID's com.atproto.lexicon.schema record, from Lexicon Garden's index or, when it is not indexed or refresh is set, from the network. Returns the schema, its AT-URI and CID, the authority DID and where it came from.
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": {
"nsid": "<nsid>"
},
"name": "resolve_lexicon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nsid | Yes | The NSID to resolve (e.g., 'app.bsky.feed.post') | |
| refresh | No | Optional: read the record from the network even when it is indexed |