Get all legal moves for the current position. Requires state from play_create_game or play_apply_move.

post/api/tools/play_get_moves

Request

  • Base URL: https://tools.moddable.games
  • URL: https://tools.moddable.games/api/tools/play_get_moves
  • Auth: none declared

Request body

stateobject required

Game state object returned by play_create_game or play_apply_move

Response

Tool result

Changes

No recorded changes to this operation across all 1 revision of this API.