roll_dice
Roll dice using standard notation (e.g., 2d6, 1d6+6) to determine random outcomes in fantasy gamebook scenarios.
Instructions
Roll a dice expression like '2d6' or '1d6+6'.
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": {
"notation": "<notation>"
},
"name": "roll_dice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rolls | Yes | ||
| total | Yes |