Read IANA registry records
iana_get_registry_recordsRead records from any IANA XML registry by id, e.g. registry "tls-parameters" with subregistry "tls-parameters-4" (TLS Cipher Suites), "protocol-numbers", "http-methods", or "cbor-tags"; an iana.org/assignments URL also works. Filter with value on the key column or the column field names: signed decimal points match exact cells, inclusive ranges and strict open bounds; scalar 0x points also compare with decimal cells and established bare-hex columns. Two-byte 0x points match byte-pair ranges and wildcards with their width preserved. Address fields compare IPv4 and IPv6 points and prefixes with covering blocks, narrowest first. An implicit range-only key match yields a miss and a field pointer when another column holds the value exactly. Filter with contains for words in any field; records with an equal field come first. When a registry has several sub-registries and none is given, the response lists them instead of records; a table that nests tables lists them too. Field names are the registry's XML element names (e.g. "rec" is the Recommended column). Large registries page through cursor. Find ids with iana_search_registries.
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": {
"registry": "<registry>"
},
"name": "iana_get_registry_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | No | Column for value to match instead of the key column, case-insensitive, one of the names in columns: e.g. "type" for a DNS RR type mnemonic, or "name" for every row of a service name. Ignored without value. | |
| limit | No | Requested maximum results as a positive safe integer. Values above 1400 are clamped to 1400 and disclosed as requested_limit and effective_limit. Default 25. | |
| value | No | Match the key column named by value_field (value, else number, else first column), or field when set; case and whitespace are ignored. Signed decimal points compare without precision loss with exact integers, inclusive a-b or a to b ranges, and strict less than / greater than bounds. Decimal input never gains hexadecimal meaning. One 0x token also compares numerically with decimal cells and ranges; bare hex is recognized only in ieee-802-numbers-1/type_hex and ppp-numbers-2/value. Hex byte forms keep their written width: 0x1301, {0x13,0x01}, and 0x13 0x01 find 0x13,0x01; 0x0013 finds 0x00,0x13 but 0x13 does not. Two-byte points also match 0xHH,0xLL-MM, 0xHH,* and 0xAA-BB,* rows. Scalar hex ranges such as 0x11-0xff and literal range equality remain supported. In address, addr, and prefix columns, an IPv4 or IPv6 point or whole prefix can match a containing block. Repeated XML field elements can match individually. An implicit range-only match with an exact alternate-column hit returns a miss naming field; explicit field selection is authoritative. | |
| cursor | No | next_cursor from the previous page; reuse it only with the same registry, subregistry, value, field, and contains. | |
| contains | No | Words matched as whole tokens against every field and reference id, e.g. "chacha20". Outside address lookups, records with a field equal to the words come first. | |
| registry | Yes | Registry id, e.g. "tls-parameters", or its https://www.iana.org/assignments/<id> URL (a #fragment selects the sub-registry when subregistry is unset). | |
| subregistry | No | Sub-registry id, case-insensitive, e.g. "tls-parameters-4". Omit to read the only sub-registry, or to list them when there are several. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | The limit applied. | |
| error | No | Present when the call failed. Absent on success. | |
| notes | No | Notes of the table read (of the registry, when listing), first page only. | |
| shown | No | Results returned. | |
| notice | No | Guidance on a miss, a cut list, or another condition. | |
| offset | No | Matching records before this page, on pages after the first. | |
| source | No | Provenance and freshness of the answer. | |
| columns | No | Field (XML element) names seen, in first-seen order. | |
| records | No | Whole records up to limit. Address matches are ordered by the smallest covering block, with ties in registry order. Other contains results put equal fields first. All other records stay in registry order. | |
| truncated | No | True when more matches exist than were returned. | |
| references | No | The documents that define the table read. | |
| totalCount | No | Matches before the limit was applied. | |
| description | No | Description of the table read, or of the registry when listing; a YANG module registry names its module file here. | |
| next_cursor | No | Pass as cursor, with the same filters, for the next page. | |
| registry_id | No | Registry id. | |
| value_field | No | The table's key column: each record's value comes from it, and the value filter matches it unless field names another. | |
| subregistries | No | Tables to read next: every sub-registry when one must be chosen (records is then empty), or the tables nested directly in the table read, on its first page. | |
| registry_notes | No | The registry root's notes and footnotes, on the first page of a sub-registry read; records cite them by anchor. | |
| registry_title | No | Registry title. | |
| subregistry_id | No | Id of the sub-registry the records come from. | |
| effective_limit | No | The response limit after clamping, present when clamped. | |
| notes_truncated | No | Indicates truncated notes when present; omitted for whole notes. | |
| requested_limit | No | The requested limit, present when clamped. | |
| subregistry_title | No | Title of that sub-registry. | |
| registration_ranges | No | Allocation ranges, when the table defines them. | |
| registration_procedure | No | Registration rule of the table read, or of the registry when listing. |