---
title: "Create, shuffle, and optionally draw/deal from a card deck"
method: POST
path: "/api/tools/game_deck_create"
---

# Create, shuffle, and optionally draw/deal from a card deck

`POST /api/tools/game_deck_create`

## Request

- Base URL: `https://tools.moddable.games`
- URL: `https://tools.moddable.games/api/tools/game_deck_create`
- Auth: none declared

## Request body

- object
  - `type` 'standard-52' | 'bavarian-32' | 'hanafuda-48' | 'mahjong-136' | 'dominoes-28' | 'standard-dice': Deck type (default: standard-52)
  - `draw` number: Number of cards to draw
  - `hands` number: Deal into N hands
  - `per_hand` number: Cards per hand (default: 5)

## Response `200`

Tool result

---

[API](https://skmtc.dev/moddable/apis/moddable-games-tools.md) · [All operations](https://skmtc.dev/moddable/apis/moddable-games-tools/llms.txt) · [OpenAPI document](https://skmtc.dev/moddable/apis/moddable-games-tools/revisions/637a0b62cb9a?raw)
