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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"diagramId": "<diagramId>"
},
"name": "list_bpmn_process_variables"
}
}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 |