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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "address.get_current"
}
}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. |