US tariff rulebook + receipts, per HS code
tariff_lookupCALL THIS for the schedule behind one HS code — do not recite it from memory. Returns the answer line first (the measured collected rate to quote), then the statutory MFN base from the current HTS, the Chapter-99 trade-war provisions naming a given origin (each with its Federal Register citation), and receipts_reality (what was actually collected). Trimtab DOES hold the tariff schedule and the rulebook — this is it. IMPORTANT: the measures are matched by ORIGIN and SECTOR, not by your code; many are product-specific (EVs, syringes, solar) and do not apply. Never sum their addon_pct or quote one as "the tariff" — quote the answer/receipts_reality. For "what does X from Y pay" prefer tariff_story. Not customs advice. Example: tariff on 9401.61 from China. No API key required.
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": {
"hs": "<hs>"
},
"name": "tariff_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hs | Yes | HS code, 2 to 10 digits (dots optional), e.g. 9401.61 or 847130 | |
| origin | No | Origin country name (e.g. China, Vietnam) — adds in-force measures and receipts reality (optional) |