Search HTS codes
search_hts_codesUse this when the user wants a US HTS code, harmonized tariff code or import duty rate for a product, by product words or by a code prefix. Returns ranked 10-digit codes from the current USITC schedule with the description path, general, special and column 2 rates and units, plus a PDF classification worksheet and CSV. Does not decide the final classification and does not include Chapter 99 additional duties. Do not use for other countries' tariffs.
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": {
"query": "<query>"
},
"name": "search_hts_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Product words (1 to 6 words, at most 80 characters) or an HTS code prefix of 4, 6, 8 or 10 digits, e.g. wool sweater or 8712.00. | |
| max_results | No | How many ranked codes to return, 1 to 25, e.g. 10 (default). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| query | Yes | ||
| shown | Yes | ||
| limits | Yes | ||
| source | Yes | ||
| status | Yes | ||
| message | Yes | ||
| results | Yes | ||
| downloads | Yes | ||
| query_type | Yes | ||
| results_count | No | ||
| total_matches | Yes | ||
| headings_checked | Yes |