Build a claim pack for a shipment
create_claim_packChanges data: starts building the claim pack of one shipment, as the person who connected this app, and records it in the organization's audit log. The pack is a ZIP of the shipment's documents and quality photos behind a cover page a claims handler can read first. It is built in the background and sends nothing to anyone; the pack belongs to the person who connected. Use it when the user asks for a claim pack or the paperwork for a claim. Answers with the pack and its id (such as "exp_9") at once, still pending: call get_claim_pack with that id until its status is ready, then give the user its download_url. Safe to repeat: a pack already being built for this shipment is returned instead of a second one. At most two packs are built at a time.
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": {
"shipment_id": "<shipment_id>"
},
"name": "create_claim_pack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shipment_id | Yes | A shipment id such as "shp_123", as returned by search_shipments. |