describe_lexicon
Get detailed information about an ATProtocol lexicon schema: its definitions, authority, CID and any published documentation. Use this to understand the structure and format of XRPC methods, records, and other lexicon types.
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": {
"lexicon": "<lexicon>"
},
"name": "describe_lexicon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lexicon | Yes | The lexicon NSID to describe (e.g., 'app.bsky.feed.post', 'com.atproto.repo.createRecord', or 'app.bsky.actor.profile#viewBasic' for a specific fragment) | |
| identity | No | Optional: The identity (DID like 'did:plc:...' or handle like 'alice.bsky.social') of the authority publishing this lexicon. If not provided, the authority will be resolved via DNS. | |
| language | No | Optional: Preferred language code (ISO 639) for localized descriptions from garden.lexicon.documentation records. If not provided, only schema descriptions are shown. Use language codes like 'en', 'pt-BR', 'ja', etc. |