find_elements
Find elements by metamodel type and/or name. Omit both to retrieve all elements.
Instructions
Find elements by metamodel type and/or name. Examples: type='UMLClass', name='User'. Omit both to return all. Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Exact name match | |
| type | No | Metamodel type. Examples: 'Project', 'UMLModel', 'UMLClass', 'UMLPackage' |