Create a game from a FEN-style setup string, as returned by play_export_fen. Pass the same variant the position was exported from.

post/api/tools/play_load_fen

Request

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

Request body

familystring required

Game family (chess, draughts, go, reversi, shogi, xiangqi, mancala, morris, hex, landlords-game, backgammon, standard-52, bavarian-32, flower-48, double-six-dominoes, mahjong, standard-dice, agon, asalto, chaupar, dou-shou-qi, fanorona, halma, nyout, pachisi, royal-ur, senet, stern-halma, surakarta, tafl)

fenstring required

Position string in FEN-style notation for the family

variantstring

Optional variant slug (default: the family's default game)

Response

Tool result

Changes

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