Validate Manifest
validate_manifestValidate a manifest's structure and cross-references without building geometry, rejecting malformed contracts before merge_assembly.
Instructions
Validate a manifest WITHOUT building it (the cheap front door, RFC §11.7).
Structural + cross-reference checks a JSON shape can't enforce: every component
has exactly one of file/manifest/library; a library carries a tool; every
instance references a known component; every mate/check references a known
instance; a present schema is the known version ("ankusdrive.manifest/1").
manifest: path to the manifest JSON.
Returns {ok, problems, schema, manifest_hash} — ok is True iff problems is empty; manifest_hash fingerprints the contract content (what the lockfile records so a stale contract is detectable). Run this before merge_assembly to reject a malformed contract before any geometry is built.
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": {
"manifest": "<manifest>"
},
"name": "validate_manifest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| manifest | Yes | ||
| workspace | No | Run this call in this named workspace |