roll_dice
Roll dice for D&D 5e using standard notation like 2d6+3. Supports advantage and disadvantage on single d20, returning a structured result with rolls, totals, and criticals.
Instructions
掷骰。notation 如 '2d6+3'。advantage/disadvantage 仅对单个 d20 有效。 返回统一结构:notation, rolls, natural, modifier, advantage, disadvantage, crit, total。 natural 仅在单颗骰时为该骰点数,多颗骰时为 None。
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 |
|---|---|---|---|
| crit | No | ||
| notation | Yes | ||
| advantage | No | ||
| disadvantage | No |