edit_order_delivery_address
Description
Updates the shipping address of a validated order, after confirming a normalized version of the address. Only works when items remain editable.
When to Use
Shipping address contains an error (street, ZIP, city).
Customer moved after placing the order.
Carrier requires a corrected address for delivery.
Workflow
Collect address components.
Validate address using
validate_address.Confirm normalized lines with customer.
Apply cascading rules.
Call tool.
Handle success/error message.
Arguments
Field | Type | Required |
|---|---|---|
order_id | string | Yes |
line1 | string/null | Optional |
line2 | string/null | Optional |
line3 | string/null | Optional |
city | string/null | Optional |
zip_code | string/null | Optional |
Input Schema (simplified)
{
"order_id": "string",
"line1": "string",
"line2": "string",
"line3": "string",
"city": "string",
"zip_code": "string"
}
Output
{ "result": "string" }Sample Prompts
“Correct the delivery address for order 10302”
“Update order 7211 shipping city to Marseille.”