ea_list_diagrams
List diagrams from an Enterprise Architect model, filtering by package, diagram type, or name substring. Supports paging with continuation and type-based breakdown to navigate large result sets.
Instructions
List diagrams in the model, optionally filtered by package, diagram type, and/or name substring. Each entry in results carries diagramId, name, type, packagePath, and eaGuid. Diagrams are ordered by the model's internal identity — stable but artificial, neither alphabetical nor the analyst's tree order — so adjacency carries no meaning. Walk a large result set with offset rather than a larger limit; while rows remain, continuation names the next call. When far more diagrams match than one window can hold, breakdown reports how many each type holds, so the next call can narrow by diagramType instead of paging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (default 50) | |
| offset | No | Zero-based index of the first result to return (default 0). Page by re-calling with the offset carried in continuation. | |
| packageId | No | Filter to diagrams in this package | |
| diagramType | No | Filter by diagram type (e.g., Logical, Use Case, Sequence, Activity, Component) | |
| nameContains | No | Filter to diagrams whose name contains this substring (case- and diacritic-insensitive across European Latin alphabets) |