discover_organizational_roles
Identify clusters of resources that share activities in an event log, revealing organizational roles and their key contributors.
Instructions
Discover organizational roles — activity-sharing clusters of resources.
pm4py returns a List[Role] where each role has:
activities: list of activities that cluster togetheroriginator_importance: dict mapping resource → weight within the role
Returns a handle under "org_roles" plus counts and a preview of the
top 5 roles by importance sum.
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": {
"log_id": "<log_id>"
},
"name": "discover_organizational_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_id | Yes | ||
| activity_key | No | concept:name | |
| resource_key | No | org:resource |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||