random_coin
Flip a coin (optionally biased).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "random_coin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bias | No | Probability of heads (0.5 = fair coin) | |
| count | No | Number of coin flips |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bias | No | ||
| count | No | ||
| flips | No | ||
| heads | No | ||
| tails | No | ||
| result | No | ||
| heads_percent | No |