NDC format converter (10 to 11 digit)
rx_ndc_convertConverts a National Drug Code between FDA 10-digit layouts (4-4-2, 5-3-2, 5-4-1) and the HIPAA 11-digit 5-4-2 form, dashed or undashed. Ambiguous undashed 10-digit input is resolved against RxNav by checking all three possible layouts. Returns ndc11, ndc11_dashed, ndc10, product_ndc, segment_format, resolution method, candidate layouts, and RxNav status (ACTIVE, OBSOLETE, ALIEN, UNKNOWN) with RxCUI and concept name. Price: $0.002 per successful call, paid in USDC with x402 v2; failed calls and calls that match nothing are not charged.
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": {
"ndc": "<ndc>"
},
"name": "rx_ndc_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ndc | Yes | NDC in any common form: 0071-0155-23, 00071-0155-23, 00071015523, or 0071015523 |