get_company_list
Retrieve a list of Korean shipping companies for tracking shipments using the ShippingTracker MCP server.
Instructions
Get Company List
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- shippingtracker/main.py:9-17 (handler)The main handler function for the 'get_company_list' tool. It retrieves the list of shipping companies from the SweetTracker API using an HTTP GET request with the API key from environment variable, returning the JSON response or an error message.def get_company_list(): """ Get Company List """ try: response = requests.get("https://info.sweettracker.co.kr/api/v1/companylist", params = {"t_key": t_key}) return response.json() except Exception as e: return {"error": str(e)}