pick_random
Randomly selects one or more items from a list using Fisher-Yates shuffle with cryptographic randomness. Ideal for TRPG initiative order, card draws, and hidden outcomes.
Instructions
从列表中随机抽取。Fisher-Yates 洗牌 + 密码学随机。
示例:
先攻排序:items=["Alice","Bob","Carol","Dave"](不放回抽取全部)
抽 3 张牌:items=["♠A","♠K","♠Q","♠J","♠10"], count=3
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| count | No | 抽取数量 | |
| items | Yes | 候选项 | |
| hidden | No | ||
| locale | No | zh | |
| reason | No | ||
| unique | No | 不放回 |