Lint a payload against a profile
lint_payloadValidate ISO 20022 XML or JSON payment payloads against a bank clearing profile to find rule violations, missing elements, and format defects before submitting to CBPR+, SEPA, or FedNow.
Instructions
Evaluate a payload against a clearing profile and return findings.
Purpose:
Validate an ISO 20022 XML or JSON message payload against the
market-practice rules and constraints of a specific bank clearing profile.
When to use:
Use before submitting payment messages to clearing rails (CBPR+, SEPA,
FedNow) to identify rule violations, missing elements, or format defects.
When NOT to use:
Evaluates market-practice clearing rules rather than XSD schemas or
rule-pack definitions; use structural XML validators for XSD
conformance and `validate_profile_definition` for rule-pack JSON.
Behavioral transparency:
- Deterministic: Identical payload and profile_id produce identical
findings.
- External dependencies: None (defusedxml parser only).
- Side effects: Pure read-only operation; writes no data.
- Error states: Returns an error object on XML syntax error,
unknown profile_id, or entitlement failure.
Args:
payload_content: The raw ISO 20022 message text.
profile_id: The clearing profile to lint against.
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": {
"payload_content": "<payload_content>",
"profile_id": "<profile_id>"
},
"name": "lint_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_id | Yes | The clearing profile to lint against. | |
| payload_content | Yes | Raw ISO 20022 payload text (not a path). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||