Get Envia Shipment History
envia_shipment_historyFetch shipment history for a specified month and year, returning tracking numbers, carriers, statuses, routes, prices, and label URLs in markdown or JSON.
Instructions
Get shipment history for a given month and year.
Args: month — Month number (1-12) year — Year (2020 or later) response_format — "markdown" (default) or "json"
Returns: List of shipments with tracking number, carrier, status, route, price, and label URL.
Errors: 400 — Invalid month or year 403 — Invalid API key
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": {
"month": "<month>",
"year": "<year>"
},
"name": "envia_shipment_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Year (2020 or later) | |
| month | Yes | Month (1-12) | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| month | Yes | ||
| total | Yes | Total number of shipments found | |
| shipments | Yes |