Explain EDI segment
explain_segmentProvides plain English explanations of EDI segment tags including role, key elements, and realistic examples. Supports 35 EDIFACT and 28 X12 segments.
Instructions
Explain an EDI segment tag in plain English: role, key elements and a realistic example. Covers 35 EDIFACT segments (UNB, BGM, DTM, NAD, LIN, QTY...) and 28 X12 segments (ISA, ST, BEG, N1, PO1, HL...). Tags that exist in both standards (DTM, LIN) return both entries unless a standard is specified.
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": {
"tag": "<tag>"
},
"name": "explain_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | Segment tag, e.g. UNB, BGM, NAD, ISA, PO1 | |
| standard | No | Restrict lookup to one standard |