---
title: "Get a random game suggestion from the library"
method: POST
path: "/api/tools/rules_random"
---

# Get a random game suggestion from the library

`POST /api/tools/rules_random`

## Request

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

## Request body

- object
  - `players` number: Number of players available
  - `maxDuration` number: Maximum game duration in minutes

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