Draw from a roll table
draw-roll-tableDraw or roll entries from a Foundry VTT roll table, with optional chat posting. Draw mode obeys the table's replacement setting; roll mode leaves the table unchanged.
Instructions
Roll on a roll table and return the entries. mode "draw" follows the table: a table without replacement marks drawn entries so they do not come again. mode "roll" never marks anything. Nothing goes to the chat unless chat is set.
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": {
"tableId": "<tableId>"
},
"name": "draw-roll-table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | Post the result: "none" (default), "public", "gm" (Gamemasters only), "self", "blind" (Gamemasters only, hidden from the roller) | |
| mode | No | "draw" (default) follows the table's replacement setting; "roll" marks nothing | |
| count | No | How many draws, 1 to 100; default 1 | |
| tableId | Yes | Id or exact name of the table |