Validate SWIFT MT message
validate_mt_messageValidate SWIFT MT103 or MT202 message bodies against mandatory-field rules, field-format requirements, and IBAN checksums to ensure they are well-formed before submission or forwarding.
Instructions
Validates a SWIFT MT103 (customer credit transfer) or MT202 (FI transfer) message body against mandatory-field rules, field-format rules (dates, currency, BIC, charges code), and IBAN checksums. Use this before submitting or forwarding an MT message, or when an agent needs to check a message it generated or received is well-formed.
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": {
"message_type": "<message_type>",
"raw_message": "<raw_message>"
},
"name": "validate_mt_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw_message | Yes | The raw MT message body with SWIFT field tags, e.g. ':20:REF123\n:23B:CRED\n:32A:...' | |
| message_type | Yes | The MT message type, e.g. MT103 or MT202 |