Calculate landed cost and import duty
landed_costCalculate US import duty and landed cost estimates. Give hts_code when you know it and this returns the calculated base duty and trade actions (Section 301, Section 232, Section 338, AD/CVD and others), estimated duty, fees and import cost. When estimate_status is partial, part of the duty is undetermined (AD/CVD deposits, or a per-unit duty that needs a quantity) and the amounts are provisional; convey that the estimate is incomplete, and read duty_total_bound for whether the total is a minimum. Give product instead and it returns candidate HTS codes WITHOUT pricing, because the classification decides the duty and guessing it produces confidently wrong numbers: confirm the right code with the user, then call again with hts_code. The candidate step is not charged, and neither is the same lookup repeated within ten minutes.
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": {
"country_code": "<country_code>",
"declared_value": "<declared_value>"
},
"name": "landed_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | No | Plain description, e.g. "outdoor metal furniture". Returns candidate codes to confirm, does not price. Provide this OR hts_code. | |
| hts_code | No | Exact HTS rate line, 8 or 10 digits, e.g. "9403.20.00.50". Takes precedence over product. 4 and 6 digit headings cannot be priced. | |
| quantity | No | Optional: the quantity, for lines whose duty is charged per unit (per kg, per dozen, per pair and so on). Without it that part of the duty is not priced and the total is a minimum. Send with quantity_unit. | |
| entry_date | No | Optional: the date the goods will be entered, YYYY-MM-DD (US Eastern time), today or later. Default today. | |
| country_code | Yes | ISO 2-letter country of ORIGIN (where the goods were made), e.g. "CN", "CA", "VN". | |
| quantity_unit | No | Optional, with quantity: kg, g, lb, each, dozen, pair, liter, m, m2, m3, cm, gross, head or barrel. Must be the unit the duty is charged in (duty_breakdown.base_duty.unit); convert first if it differs. | |
| shipment_mode | No | Optional: "ocean" (default), "air" or "truck" (a land border crossing from Canada or Mexico). Affects government fees only: only ocean pays the harbor maintenance fee and files an ISF. | |
| declared_value | Yes | Customs value of the shipment in USD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fta | No | A free trade agreement rate the goods may qualify for. Not applied to the total; it requires a claim and proof of origin. | |
| note | No | ||
| source | No | ||
| country | No | Country of origin, as resolved. | |
| gateway | No | Guest tier only. | |
| message | No | ||
| hts_code | No | The HTS line the duty was calculated on. | |
| quantity | No | Quantity used to price a per-unit duty, when one was given. | |
| warnings | No | ||
| candidates | No | Candidate HTS lines to confirm, present only when needs_classification is true. | |
| disclaimer | No | Planning estimate, not a customs ruling. Pass this on to the user. | |
| description | No | Official description of that line. | |
| usmca_claim | No | Canada and Mexico: the duty with a USMCA claim, which needs the agreement's rules of origin to be met. The main figure is priced WITHOUT a claim; show this beside it, never in place of it. | |
| service_fees | No | Filing and handling charges such as ISF. Not government fees; CBP charges nothing to receive an Importer Security Filing. | |
| quantity_unit | No | Unit of that quantity, or the unit the per-unit duty is charged in. | |
| adcvd_supplier | No | Supplier deposit evidence when supplied by the calculation: reviewed entry date, matched legal identities, rules, effective windows, official sources, and cases actually included. A matched case does not establish complete all-orders coverage. | |
| declared_value | No | Customs value used, in USD. | |
| duty_breakdown | No | Every trade action considered, keyed by authority (base_duty, section_301, section_232, section_338_canada and the rest). Each carries rate, applies, and often a reason and legal reference. An action with applies false and upcoming true is scheduled but not yet owed. | |
| policy_notices | No | Source-backed scope and supplier notices affecting use of this estimate. | |
| total_duty_usd | No | Calculated duty estimate in USD. When estimate_status.status is partial, this is provisional and is not the complete payable duty; duty_total_bound says whether it is a minimum. | |
| duty_total_note | No | Present when duty_total_bound is not exact. Pass it to the user. | |
| estimate_status | No | A partial status means part of the duty is undetermined (AD/CVD deposits, or a duty that needs a quantity) and this estimate is incomplete. Pass its message to the user; a zero calculated AD/CVD component does not establish zero liability. | |
| government_fees | No | MPF and HMF, the fees CBP actually collects. | |
| guest_allowance | No | Guest tier only: the allowance in words. | |
| duty_total_bound | No | exact: every part of the duty is priced (AD/CVD notices may still make it provisional). at_least: a per-unit part is unpriced, so the total is a minimum; give quantity and quantity_unit to price it. unknown: a part is unpriced and the AD/CVD figure may overstate, so the total is neither complete nor a minimum. | |
| total_duty_rate_pct | No | Calculated duty estimate as a percentage of declared value. Read estimate_status before describing this as a complete estimate. | |
| usmca_auto_232_note | No | Canada and Mexico vehicles and parts: how a USMCA claim changes the Section 232 auto duty. | |
| needs_classification | No | True when a product description was given instead of a code. Nothing was priced and nothing was charged; show the candidates and ask the user to confirm. | |
| total_import_cost_usd | No | Calculated duties plus government and service fees, excluding merchandise and freight. Provisional when estimate_status is partial. | |
| guest_lookups_remaining | No | Guest tier only: priced duty lookups left in the rolling 7 days. |