design_validate_plan
Validate candidate DesignPlan JSON against schema and cross-references before execution, catching errors that would block plan execution without an Altium round-trip.
Instructions
Validate a candidate DesignPlan JSON against the schema + cross-check.
Run this before design_execute_plan to catch schema problems
and cross-references that the executor will reject. Cheap; no
Altium round-trip.
Args: plan_json: Either a JSON string of the DesignPlan, or the DesignPlan as a JSON object/dict. The MCP framework auto-deserializes JSON-object literals to dicts before the tool sees them, so both shapes are accepted.
Returns:
{"ok": True, "summary": "..."} on success, or
{"ok": False, "errors": [...]} listing the specific
problems. The planner can read these and revise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||