roll_dice
Roll dice using standard notation (e.g., 2d6+1) and specify how many times to roll.
Instructions
Roll dice with the given notation.
Parameters:
notation: Dice notation like "2d6+1"
num_rolls: Number of times to roll (default 1)
Example:
roll_dice("3d6", 2)
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 | ||
| num_rolls | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |