Convert pacs.008 to MT103 fields (reverse mapping)
convert_pacs008_to_mt103Convert ISO 20022 pacs.008 XML to SWIFT MT103 field tags, mapping only confident fields and flagging the rest for manual review, enabling MT/MX coexistence.
Instructions
Parses an ISO 20022 pacs.008 XML message and maps its fields back to SWIFT MT103 field tags (:20:, :23B:, :32A:, :50K:, :59:, :71A:). Useful during the SWIFT MT/MX coexistence period when a downstream system still expects MT format. Deliberately conservative — only maps fields it can extract with confidence and flags the rest in the notes array rather than guessing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"xml": "<xml>"
},
"name": "convert_pacs008_to_mt103"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | The raw pacs.008 message as XML text |