Inspect model
inspect_modelProduces a read-only KOMPAS-3D report covering feature trees, variables, mass properties, bounding boxes, errors, and review checklists to validate parts, assemblies, drawings, and specifications.
Instructions
Read-only report on a part/assembly: feature tree (object handles, validity, errors), variables (with tolerances), mass properties in mm/kg (fresh, never cached), bounding box, properties (designation/name/material), active embodiment, rebuild errors and default-named features. 'review' adds a deterministic checklist (broken features, default names, missing designation/name/ material, manual mass, variables without notes) — the basis of the review_model prompt. On a DRAWING (.cdw) the report is the drawing itself: sheets, views (number, scale, position, angle, source model, section), their dimensions (kind, value, tolerance, associative) and technical requirements; with 'review' it is cross-checked against its model (hand-typed dimension values, unbound dimensions, title block vs model properties/mass, scale, views off the sheet). On a SPECIFICATION 'review' compares its rows with the attached assembly's components and quantities (the assembly must be open). Leaves no Undo entry and does not mark the document as changed. Also clears NEEDS_REVIEW.
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": {
"doc": "<doc>"
},
"name": "inspect_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Document handle from doc_list/doc_open, e.g. 'doc:12001:0a1b2c3d' | |
| obj | No | feature obj: handle -> return only THAT feature: its internal variables (e.g. the depth of an extrusion, a hole's diameter with can_have_tolerance — bind them via variables_set) and its definition (kind, params, editable — change them via feature_edit(params=…)) | |
| page | No | Tree page (200 features per page) | |
| sections | No | Which parts of the report to build |