Items Validate
items_validateValidate an items.json registry by checking schema stamp, item record shape, unique part numbers, and reserved rev/lifecycle fields; returns ok, problems, schema, and count.
Instructions
Validate an items.json registry (the PLM item/document/file split, #140 C1). Checks the schema stamp ("ankusdrive.items/1"), each item record's shape, that part numbers are unique, and the held reserved rev/lifecycle fields. An item is the logical part (part_number + rev + lifecycle + metadata), distinct from its file artifact(s); part numbers are non-significant + sequential, with meaning in queryable metadata.
registry: path to the items.json sidecar.
Returns {ok, problems, schema, count} — 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": {
"registry": "<registry>"
},
"name": "items_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| registry | Yes | ||
| workspace | No | Run this call in this named workspace |