Drawing: Plan (commit intent before drawing)
drawing_planCommit a drawing plan before geometry creation to store requirements and ensure consistent CAD workflows.
Instructions
Commit a PlanSpec before any geometry is created.
The PlanSpec is stored on the backend and surfaced for reference during
the workflow (it is not replayed as a critique). Always call this FIRST
in a premium workflow. With typed requirements.items the plan carries
requirement_digest; persist_requirements=True also writes the set into
the drawing (requirements_persisted: true) - the server's own XRECORD,
shown nowhere in AutoCAD.
Refused: a spec_hash that does not match the latest ready preflight; a
malformed typed item, by its path (items[2].target.nominal: must be greater than zero, got -1.0.); persist_requirements=True with neither
typed items nor a legacy dimensions object ("nothing to read"). A
refusal stores nothing and commits no plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Free-form constraint notes. | |
| scale | No | Drawing scale (1.0 = 1:1, 0.1 = 1:10, etc). | |
| intent | Yes | One-line description of what this drawing represents. | |
| dim_style | No | Default dimensioning style: chain / baseline / ordinate / mixed. | chain |
| spec_hash | No | Hash returned by the latest ready drawing_preflight. | |
| sheet_size | No | Paper size: A4 / A3 / A2 / A1 / A0. | A3 |
| view_count | No | ||
| layer_set_id | No | Layer set to bootstrap: mech / pid / iso13567. | mech |
| requirements | No | Normalized preflight requirements (typed `items` and/or a legacy `dimensions`). | |
| persist_requirements | No | Also write the requirement set into the drawing (an ACADMCP_REQUIREMENTS record that travels with the saved file), so a reopened file carries it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||