Look up a code
lookupLook up a USPS code: its row as USPS prints it in the newest edition that lists it, the codes its cells name, the editions that list it and its history, each row with its passage id. A code is found without the marks USPS prints around it and in a row USPS prints for several codes: 750 finds 750, 858 finds 858 and the dropped 858*, and 13 finds PTR's row 01 / 13. Two digits are also tried as three: 55 finds PTR's 55, then STC's 055. Cite a row by its passage, revision and page, with its cells' words as printed, and a row's notes, the footnotes its marks point to, by their own revision and page.
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": {
"code": "<code>"
},
"name": "lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | A code as USPS prints it: 055, 920, PM, 01. | |
| table | No | One table to look in: stc, extra-services, mail-classes, channel-application-ids, container-types, delivery-option-indicators, rate-indicators, destination-rate-indicators, discount-types, open-and-distribute-content-indicators, postal-routing-barcodes, processing-categories, surcharge-types, zones, impb-noncompliance-codes, impb-noncompliance-report-codes, acs-product-codes, acs-move-types, acs-coa-deliverability-codes, acs-nixie-codes, acs-address-types, acs-fee-notification-codes, acs-notification-types, acs-mail-action-codes, acs-dpv-codes, dpv-return-codes, dpv-footnotes, ptr, ptr2, stid, opcodes, unexpected-opcodes, ncoalink-return-codes, ncoalink-return-code-matrix, lacslink-return-codes, maildat-pre-validation-errors, maildat-client-errors, maildat-client-warnings, maildat-server-errors, maildat-server-warnings, maildat-client-info, impb-quality-validations, impb-cew-messages, impb-international-scan-events, impb-edi-event-codes, impb-barcode-constructs, impb-pc-postage-barcode-constructs, impb-container-barcode-constructs, impb-tray-sack-barcode-constructs, mqd-container-errors, mqd-handling-unit-errors, mqd-bundle-errors, mqd-piece-range-errors or mqd-piece-errors. Every table when absent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matches | Yes |