create_element
Creates a UML model element without placing it on a diagram. Specify the element type and parent element ID.
Instructions
Create a new UML model element (MODEL ONLY — not placed on any diagram canvas). For native typed diagrams (Use Case, Activity, Class), use create_element_with_view instead so shapes appear in the diagram. The 'type' is a metamodel class name. Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional element name | |
| type | Yes | Metamodel type, e.g. 'UMLClass', 'UMLPackage' | |
| parentId | Yes | Parent element's _id |