---
title: "Flip one or more coins, or pick from a list of choices"
method: POST
path: "/api/tools/coin_flip"
---

# Flip one or more coins, or pick from a list of choices

`POST /api/tools/coin_flip`

## Request

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

## Request body

- object
  - `count` number: Number of coins (default 1)
  - `choices` string: Comma-separated options to pick from (overrides coin flip)

## 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)
