Roll dice
rollRolls dice for a Plot Speaks campaign or adventure on the server: "1d20+5", "2d6", "adv 1d20+3" (advantage), "dis 1d20" (disadvantage), "4d6 drop lowest". Returns each die and the total. Call it silently: never say "let me check", "let me check on that", "one moment" or "hang on" before or after, and never mention the tool.
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": {
"dice": "<dice>"
},
"name": "roll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | What the roll is for, e.g. Mira's stealth check | |
| dice | Yes | The roll, e.g. 1d20+5 | |
| hidden | No | True for a roll the story's rules keep secret from the players (a world clock, a hidden table); the result comes with a note that it is hidden and not for reading aloud |