list_bpmn_elements
List, filter, or inspect BPMN diagram elements by name pattern, type, property, or specific IDs to retrieve types, positions, connections, and properties.
Instructions
List elements in a BPMN diagram with their types, names, positions, connections, and properties. Supports optional filters to search by name pattern, element type, or property value. When no filters are given, returns all elements — unless the diagram is large, in which case an unfiltered call returns a type-count summary plus a bpmn://diagram/{id}/elements resource_link instead (pass inline: true to force the full list). Pass elementIds to inspect specific elements in full detail (all properties, extension elements, connections, event definitions) instead — ignores the other filters, one or several elements per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inline | No | Force the full element list even for a large, unfiltered diagram that would otherwise be summarized. Default: false. | |
| property | No | Filter by a specific property key and optional value | |
| diagramId | Yes | The diagram ID | |
| elementIds | No | Inspect these specific elements in full detail instead of listing/filtering. | |
| elementType | No | BPMN element type to filter by (e.g. 'bpmn:UserTask', 'bpmn:ExclusiveGateway') | |
| namePattern | No | Regular expression pattern to match against element names (case-insensitive). Only matching elements are returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| success | Yes |