ECO Validate
eco_validateValidate an engineering change order before processing by checking its schema stamp, non-empty ID and affected items, a present disposition, and an effectivity with exactly one of date, serial, or revision.
Instructions
Validate an ECO (engineering change order) record (issue #142, C3) — the cheap front door. Checks the schema stamp, a non-empty id + affected item set, a present disposition, and an effectivity carrying exactly one of date|serial|revision.
eco: the ECO object.
Returns {ok, problems} — ok is True iff problems is empty.
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": {
"eco": "<eco>"
},
"name": "eco_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eco | Yes | ||
| workspace | No | Run this call in this named workspace |