audit_feature_health
Audit the entire feature tree for broken or warning features after any sketch, parameter, or feature edit, returning health state summaries and problematic feature details.
Instructions
Sweep the feature tree (root + every sub-component) and report features whose healthState != 0.
Call this after ANY tool that edits sketch geometry, user parameters, or features. If summary.failed > 0 (state 2 or 3) or summary.warning > 0 (state 1), the BREP may look healthy via the API while Fusion's UI shows a stale cached display. See gotchas G10/G11.
Args: component_name: Restrict the audit to features in this component (still recurses into its sub-components). Default: root + all. include_healthy: Include healthy features (state 0) in the features list. Default False — only broken features are returned.
Returns envelope.result = { ok, summary: {total, healthy, warning, failed}, features: [{path, component, name, classType, healthState, healthLabel, isSuppressed, errorOrWarningMessage}, ...] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| component_name | No | ||
| include_healthy | No |