sample_case_ids
Retrieve a sample of case IDs from a log using strategies: first (original order), longest (most events), or shortest (fewest events) to select cases without exporting the log.
Instructions
Return a small sample of case IDs from a log.
Useful for picking a concrete case_id to pass to abstract_case
without having to export the log to disk first.
Strategies:
"first": IDs in original order (cheap; no sort)."longest": thencases with the most events."shortest": thencases with the fewest events.
For longest / shortest, the response includes an event_counts
dict so callers can see the sort key; first omits it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| log_id | Yes | ||
| strategy | No | first |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||