New Deck
new_deckCreate a shuffled deck of playing cards. Returns deck_id and remaining count. Use deck_count to combine multiple decks (e.g., 2 for 104 cards).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"count": 1
},
"name": "new_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of standard 52-card decks to combine and shuffle. Defaults to 1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck_id | Yes | Unique identifier for the created deck | |
| shuffled | Yes | Whether the deck was shuffled | |
| remaining | Yes | Number of cards remaining in the deck |