track_shipping
Monitor Korean shipment status by entering the company code and tracking invoice number for real-time delivery updates.
Instructions
Track Shipping with Company Code and Tracking Invoice
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_code | Yes | ||
| tracking_invoice | Yes |
Implementation Reference
- shippingtracker/main.py:19-28 (handler)The main handler function for the 'track_shipping' tool. It uses the SweetTracker API to track a shipping invoice given a company code and tracking number. Registered via the @mcp.tool() decorator.@mcp.tool() def track_shipping(company_code: str, tracking_invoice: str): """ Track Shipping with Company Code and Tracking Invoice """ try: response = requests.post("https://info.sweettracker.co.kr/api/v1/trackingInfo", params = {"t_key": t_key, "t_code": company_code, "t_invoice": tracking_invoice}) return response.json() except Exception as e: return {"error": str(e)}