Get Document Schema
get_document_schemaGet X12 starter schemas for common transaction sets (850, 810, 856, 837) to understand EDI structure locally; returns honest capability label, not an implementation guide.
Instructions
Get a public X12 starter schema for the local inventory (850/810/856 baseline, 837 Professional partial). Returns an honest capability label and is explicitly not a trading-partner implementation guide. Refuses EDIFACT, HL7, and unknown sets. Local read-only operation.
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": {
"transactionSet": "<transactionSet>"
},
"name": "get_document_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transactionSet | Yes | Local starter codes: 850, 810, 856, 837. 837 means Professional 005010X222A1 only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| tool | No | ||
| error | No | ||
| fixture | No | ||
| message | No | ||
| variant | No | ||
| envelope | No | ||
| authority | No | ||
| direction | No | ||
| keyFields | No | ||
| requestId | No | ||
| sourceUri | No | ||
| capability | No | ||
| limitation | No | ||
| commonSegments | No | ||
| transactionSet | No | ||
| requiredSegments | No | ||
| validationErrors | No | ||
| implementationGuide | No |