Draw cards
draw-cardsDraw cards from one stack into another, with automatic refusal when insufficient cards and verification after the move.
Instructions
Draw cards from one stack (usually a deck) into another (usually a hand or pile). Refused before anything moves when too few cards are left. Every card is looked up afterwards. 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": "draw-cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Draw into: id or exact name of the card stack | |
| how | No | Which cards: top (default), bottom or random | |
| from | Yes | Draw from: id or exact name of the card stack | |
| number | No | How many cards, default 1 | |
| chatNotification | No | Post Foundry's chat message about the move (default false) |