search_lexicons
Find ATProtocol lexicons by what their schemas say: descriptions, definition names, field names and known values. Use it when you don't know the NSID. mode "keyword" (default) matches words; mode "semantic" ranks by meaning, so a plain description of what you need works (e.g. 'store a user's reading list'), and it falls back to keyword when unavailable. By default only lexicons published by their NSID's DNS authority are returned. Returns NSIDs with summaries and AT-URIs; follow up with describe_lexicon.
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>"
},
"name": "search_lexicons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | keyword (default) or semantic | |
| limit | No | Maximum results (default 10) | |
| query | Yes | What to search for: words, a phrase in quotes, -word to exclude, or (with mode semantic) a plain description. 2 to 256 characters. | |
| lexicon_types | No | Only return lexicons whose main definition has one of these types | |
| include_non_authoritative | No | Also return lexicons whose publisher is not the NSID's DNS authority (default false). Such copies may be forks or impersonations. |