Remediate an ISO 20022 message
remediate_messageAssess and fix all addressed parties in an ISO 20022 message to comply with structured address requirements, with optional patching.
Instructions
Assess and remediate every addressed party in a message.
Args:
xml: The ISO 20022 message document.
policy_id: The policy to remediate for (defaults to cbpr-2026).
apply: Whether to apply the operations and return patched XML.
as_of: The assessment date (YYYY-MM-DD); defaults to today.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | An ISO 20022 message as XML. | |
| apply | No | When true, apply the operations and return the patched XML in 'patched_xml'. | |
| as_of | No | The assessment date as an ISO 8601 string (YYYY-MM-DD). Decides cliff wording; defaults to today. | |
| policy_id | No | The policy to assess against (see list_policies). Defaults to 'cbpr-2026' when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||