Get Current Delivery Address for Region
address.get_currentGet the default delivery/shipping address saved for the currently active region from local configuration (~/.polopan/region.json).
WHEN TO USE (CRITICAL ANTI-SHORTCIRCUIT RULE):
ALWAYS call this BEFORE generating 1-click checkout links to check if the user already has a saved delivery address for their destination country.
If 'has_address' is false, DO NOT emit a naked checkout link. Prompt the user naturally for their shipping address (First Name, Street Address, City, Postal Code, Phone & Email) and save it using 'address.save'.
If 'has_address' is true, inform the user you are prefilling their saved address and proceed with checkout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | Optional country code (e.g. 'US', 'AE', 'GB', 'IN') to inspect addresses for. Defaults to active region country. |