generate_random_choice
Randomly select items from a list using cryptographically secure randomness, specifying the number of choices and allowing or disallowing duplicates.
Instructions
Randomly select items from a given list using cryptographically secure randomness
Input Schema
Name | Required | Description | Default |
---|---|---|---|
allow_duplicates | No | Whether to allow duplicate selections | |
choices | Yes | Array of items to choose from | |
count | No | Number of items to select |