lookup_sns
Resolve a Standard Numbering System (SNS) code in S1000D BREX by DMC or system/subsystem codes, returning the matched hierarchy with titles and indicating prefix-only matches.
Instructions
Explain what a Standard Numbering System (SNS) code means in a BREX: pass a DMC (the system / subsystem / sub-subsystem / assembly codes are taken from it) or the codes directly. Returns the matched hierarchy with titles; "exact: false" means only a prefix matched.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lookup_sns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dmc | No | A DMC whose SNS part should be looked up. | |
| brex | No | Which BREX to use: a file path to a BREX data module (.xml), or a DMC (e.g. "KENBAIKI-A-00-00-00-00A-022A-D", "DMC-" prefix optional) searched in csdbDirs / S1000D_CSDB_DIR / S1000D_SPEC_DIR. Omit to use the S1000D default BREX found under S1000D_SPEC_DIR. | |
| assyCode | No | Assembly code (2 or 4 characters). | |
| csdbDirs | No | Extra folders to search for data modules and BREX by DMC (in addition to S1000D_CSDB_DIR and S1000D_SPEC_DIR). | |
| systemCode | No | System code (2-3 characters), when not passing dmc. | |
| subSystemCode | No | Subsystem code (1 character). | |
| subSubSystemCode | No | Sub-subsystem code (1 character). |