Get a CBP port and its facilities
get_cbp_portOne CBP port with a page of its FIRMS facilities, ordered by code. Placeholders are left out; active codes only unless include_deleted is true. For the next page pass cursor = meta.next_cursor (null on the last page); each page is one call. Wraps GET /v1/ports/{port}. Live keys (fapi_live_...): one counted call. Test keys (fapi_test_...): fixture sample data, not counted.
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": {
"port": "<port>"
},
"name": "get_cbp_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | 4-digit CBP port code, e.g. 4601. | |
| limit | No | Facilities per page. | |
| types | No | Only these facility types: 01 Container freight station (CFS), 02 Foreign trade zone (FTZ), 03 Pier or terminal, 04 Bonded warehouse, 05 Inspection facility, 06 Importer premises, 07 DP site, 08 CBP administrative, 09 Centralized examination station (CES), 10 Rail or air terminal (inferred), 11 CBP test. | |
| cursor | No | meta.next_cursor from the previous page. | |
| include_deleted | No | Include deleted codes (ranked after active ones). |