Take a label off a shipment
remove_labelChanges data: takes one label off one shipment, as the person who connected this app, and records it in the organization's audit log. The label itself stays in the organization's catalogue and can be put back with add_label. Use it only when the user asks to remove a label from a shipment. Pass the user's own wording as label ("urgent" finds "🔥 Urgent") or the label's id; list_labels is only needed to show what exists. If the answer says several labels match, ask the user which one and call again with its id. Safe to repeat: a shipment without the label is left as it is. Answers with the shipment's labels as they now stand.
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>",
"label": "<label>"
},
"name": "remove_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | The label as the user says it, such as "urgent" (case, emoji and punctuation do not matter), or its id, such as "lbl_3". | |
| shipment_id | Yes | A shipment id such as "shp_123", as returned by search_shipments. |