Render the current board position as SVG for any playable 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).

post/api/tools/play_render_board

Request

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

Request body

stateobject required

Game state object from play_create_game or play_apply_move

sizeinteger

Board width in pixels for PNG output (default: 480, max: 2048)

Response

Tool result

Changes

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