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.
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": "get_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | ||
| log_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||