Parse ANSI X12
parse_x12Parse raw ANSI X12 interchange into structured JSON. Deduces delimiters from the ISA segment and returns hierarchy with transaction type recognition and verification.
Instructions
Parse a raw ANSI X12 interchange into structured JSON. Delimiters are deduced from the ISA segment itself (element separator = 4th character, component separator = ISA16, segment terminator = the character after ISA16). Returns the ISA/GS/ST hierarchy with decomposed segments, transaction type recognition (850, 856, 810, 997...) and SE/GE/IEA counter and control-number verification.
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": "<message>"
},
"name": "parse_x12"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Raw X12 interchange starting with ISA |