Convert a SWIFT MT message, or look up the mapping
askiso_translateConvert SWIFT MT and ISO 20022 messages in either direction, or look up field-level mappings, with a fidelity report showing what was carried, shortened, inferred, or dropped.
Instructions
Convert a real message in either direction, or look up the mapping. With mt_message: MT101/104/107 become pain.001/pain.008, MT103 becomes pacs.008, MT202 becomes pacs.009, MT204 becomes pacs.010, MT940 becomes camt.053. With mx_message: pacs.008 becomes MT103, pacs.009 becomes MT202, camt.053 becomes MT940. Either way the result includes a fidelity report naming every source field and whether it was carried, shortened, inferred, or dropped -- nothing is dropped silently. With code: return the field-level cross-reference. MT to MX produces unstructured addresses, which CBPR+ stops accepting once the deferred structured address requirement takes effect; check the result with askiso_check_profile. MX to MT loses purpose codes, legal entity identifiers and structured addresses outright.
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": "askiso_translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | An identifier to cross-reference, for example "MT103" or "pacs.008". Ignored when a message is given. | |
| mt_message | No | A complete SWIFT MT message, including its {1:} and {2:} headers. | |
| mx_message | No | A complete ISO 20022 XML message, to convert to MT. |