feature_execute
Executes a complete feature as an atomic transaction on a specified drawing, applying ordered create, insert, and transform actions and rolling back all changes if any step fails.
Instructions
Execute one complete generic feature as a feature-local logical transaction bound to caller-supplied document PID and predecessor fingerprint.
Side-effects: Mutates active drawing state atomically; rolls back on failure. Disambiguation: Preferred route for multi-step feature creation; rolls back cleanly if any action fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actions | Yes | Ordered list of typed micro-chunk actions (create, insert, transform) | |
| feature_id | Yes | Unique feature identifier for this logical transaction | |
| document_pid | Yes | Persistent document identifier (PID) matching active CAD drawing | |
| correlation_id | Yes | Caller correlation ID for tracing and idempotency | |
| feature_sequence | Yes | Monotonic sequence number within the feature stream | |
| expected_parent_fp | Yes | Expected predecessor semantic fingerprint for optimistic locking |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||