Reset a card stack
reset-card-stackReset a card stack in Foundry VTT: return all dealt cards from hands and piles to their decks, or return a hand/pile's cards to the original deck. Requires write access.
Instructions
Reset a stack through Foundry: a deck takes back every card it gave out, from all hands and piles; a hand or pile returns its cards to their decks. Needs the write switch.
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": {
"stackId": "<stackId>"
},
"name": "reset-card-stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stackId | Yes | The stack: id or exact name of the card stack | |
| chatNotification | No | Post Foundry's chat message about the move (default false) |