random_choice
Pick random item(s) from a list.
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": {
"items": "<items>"
},
"name": "random_choice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of choices to make | |
| items | Yes | Comma-separated items to choose from | |
| allow_duplicates | No | Allow same item to be chosen multiple times |