alonomic_cancel_parcel
Cancel a parcel before pickup to prevent it from being delivered.
Instructions
Cancel a parcel before pickup — WARNING: changes a real parcel.
Persian purpose: لغو یک مرسوله پیش از جمعآوری. Requires Alonomic
credentials AND enable_ordering=true (and read_only=false);
otherwise it returns {"error": "ordering_disabled", ...} without
contacting the API. Maps to DELETE /business-service/api/v1/parcels/{id} (HTTP 204 on success).
Args: parcel_id: Numeric id of the parcel to cancel. instance: Configured instance to use (default when omitted).
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": {
"parcel_id": "<parcel_id>"
},
"name": "alonomic_cancel_parcel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parcel_id | Yes | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||