Generate Test Document
generate_test_documentGenerate synthetic X12 test documents (850, 810, 856, 837) with optional overrides for date, PO number, and control number. Provides honest capability labels and rejects unsupported formats.
Instructions
Render a synthetic X12 sample for the local inventory (850/810/856 baseline, 837 Professional partial). Returns an honest capability label. controlNumber and the transaction's primary date apply to every fixture; poNumber applies only to 850 and 810. Refuses EDIFACT, HL7, and unknown sets. Local only; works in the docs profile. 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": {
"type": "<type>"
},
"name": "generate_test_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Local fixture codes: 850, 810, 856, 837. 837 means Professional 005010X222A1 only. | |
| overrides | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | ||
| type | No | ||
| error | No | ||
| content | No | ||
| message | No | ||
| requestId | No | ||
| capability | No | ||
| validationErrors | No |