---
title: "Use AI to analyse the position and suggest the best move. Supports 5 difficulty levels across all 30 playable families."
method: POST
path: "/api/tools/play_suggest_move"
---

# Use AI to analyse the position and suggest the best move. Supports 5 difficulty levels across all 30 playable families.

`POST /api/tools/play_suggest_move`

## Request

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

## Request body

- object
  - `state` object, required: Game state object from play_create_game or play_apply_move
  - `difficulty` 'beginner' | 'easy' | 'medium' | 'hard' | 'expert': AI difficulty level (default: medium)

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