get_variants
Retrieve the most frequent trace variants from an event log with their occurrence counts, capped at a specified number (default 20) and including the total variant count.
Instructions
Return the most-common trace variants and their counts.
Caps output at top_k variants (default 20) and includes the total
variant count so the caller knows if the list was truncated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | ||
| log_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||