Deal cards
deal-cardsDeal cards from one stack to multiple hands or piles, ensuring enough cards remain, with options for top, bottom, or random selection.
Instructions
Deal the same number of cards from one stack to each of several hands or piles. Refused before anything moves when too few cards are left. 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": {
"from": "<from>",
"to": "<to>"
},
"name": "deal-cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The stacks to deal to: ids or exact names | |
| how | No | Which cards: top (default), bottom or random | |
| from | Yes | Deal from: id or exact name of the card stack | |
| number | No | Cards per stack, default 1 | |
| chatNotification | No | Post Foundry's chat message about the move (default false) |