list_bpmn_process_variables
List all process variables referenced in a BPMN diagram, showing read/write access and the elements that use them.
Instructions
List all process variables referenced in a BPMN diagram. Extracts variables from form fields, input/output parameter mappings, condition expressions, script result variables, loop characteristics, call activity variable mappings, and Camunda properties (assignee, candidateGroups, etc.). Returns each variable with its read/write access pattern and the elements that reference it — unless the diagram references a lot of variables, in which case it returns just the names plus a bpmn://diagram/{id}/variables resource_link (pass inline: true to force the full list).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inline | No | Force the full variable list even for a large diagram that would otherwise be summarized. Default: false. | |
| diagramId | Yes | The diagram ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| variableCount | Yes |