Classify a postal address
classify_addressQuickly classify a postal address as structured, hybrid, or unstructured to decide if remediation is needed for compliance.
Instructions
Classify a postal address as structured, hybrid, or unstructured.
Use this for a quick shape check before deciding whether to remediate.
For the specific compliance findings under a policy, use
``assess_address`` instead.
Args:
address: The postal address to classify.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | An ISO 20022 postal address as a JSON object using canonical field names, e.g. {'street_name': 'Downing St', 'building_number': '10', 'post_code': 'SW1A 2AA', 'town_name': 'London', 'country': 'GB'} or {'address_lines': ['10 Downing St', 'London SW1A 2AA'], 'country': 'GB'}. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||