Moddable.Games Tools API
The Tools API from Moddable.Games — 90 operation(s) for tools.
Operations 90
POST
/api/tools/chess_generate_puzzle
Get a random chess puzzle. Filter by variant, difficulty or theme.
#
POST
/api/tools/chess_list_puzzle_types
List available puzzle variants, themes, and per-variant counts from the puzzle…
#
POST
/api/tools/chess_list_variants
[DEPRECATED — use play_list_variants] List chess variants. Removal: v1.0.0
#
POST
/api/tools/chess_get_legal_moves
[DEPRECATED — use play_create_game + play_get_moves] Get legal moves for a…
#
POST
/api/tools/chess_analyze_position
[DEPRECATED — use play_suggest_move] Analyse a chess position. Removal: v1.0.0
#
POST
/api/tools/chess_make_move
[DEPRECATED — use play_apply_move] Apply a move to a chess game. Removal: v1.0.0
#
POST
/api/tools/chess_validate_move
[DEPRECATED — use play_validate_move] Check if a chess move is legal.
#
POST
/api/tools/chess_get_status
[DEPRECATED — use play_check_status] Get chess game status. Removal: v1.0.0
#
POST
/api/tools/chess_render_svg
[DEPRECATED — use play_render_board] Render a chess position as SVG.
#
POST
/api/tools/chess_make_moves
[DEPRECATED — use play_make_moves] Apply a sequence of chess moves.
#
POST
/api/tools/chess_get_opening_book
[REMOVED — engine#98] Opening book resolution is broken in Worker context.
#
POST
/api/tools/hex_get_info
Get info about a specific hex coordinate (terrain, neighbours, distance)
#
POST
/api/tools/play_list_families
List all playable game families supported by the engine (chess, draughts, go…
#
POST
/api/tools/play_get_definition
Get the full engine definition (topology, render config, pieces, setup FEN) for…
#
POST
/api/tools/play_check_status
Check the current game status: whose turn it is, whether the game is over, and…
#
POST
/api/tools/play_render_board
Render the current board position as SVG for any playable family (chess…
#
POST
/api/tools/play_export_fen
Export the current board position as a FEN-style setup string, in the form the…
#
POST
/api/tools/play_load_fen
Create a game from a FEN-style setup string, as returned by play_export_fen.
#
POST
/api/tools/play_validate_move
Check whether a move is legal in the current position without applying it.
#
POST
/api/tools/rules_list_games
List all available game rulebooks with metadata (players, duration, complexity…
#
POST
/api/tools/rules_get_game_meta
Get structured metadata for a game: players, duration, complexity, mechanics…
#
POST
/api/tools/rules_get_variant_list
List all variants for a game with structured metadata (players, board, playable…
#
POST
/api/tools/board_gallery_search
Search the board gallery (335 rendered board layouts across 34 game families)
#
POST
/api/tools/board_gallery_stats
Get statistics about the board gallery (total boards, families, topologies)
#
POST
/api/tools/piece_gallery_stats
Get statistics about the piece gallery (total sets, styles, authors, game…
#
POST
/api/tools/oracle_list_games
List all supported RPG systems with oracle tables and entity data availability
#
POST
/api/tools/rpg_chargen
Generate a random character for an RPG system (D&D 5e, Pathfinder, Ironsworn…
#
POST
/api/tools/rpg_search_entities
Search RPG entities (spells, monsters, classes, items) across all systems
#
POST
/api/tools/rpg_random_encounter
Generate a random encounter for a system and difficulty level
#
POST
/api/tools/oracle_list_recipes
List all predefined scene recipes — curated multi-table compositions that…
#
POST
/api/tools/oracle_table_view
View the complete contents of an oracle table — all entries with roll ranges
#
POST
/api/tools/oracle_encounter
Generate a tabletop RPG encounter with CR-appropriate monsters, terrain, and…
#
POST
/api/tools/rpg_list_categories
List entity categories for an RPG system (spells, monsters, classes, equipment…
#
POST
/api/tools/rpg_random
Get random entities from an RPG system for inspiration or encounter prep
#
POST
/api/tools/ti4_random_factions
Generate random faction assignments for Twilight Imperium 4th Edition
#
POST
/api/tools/colony_dice_odds
Calculate settlement dice probability for Colony/Catan-style resource numbers
#
POST
/api/tools/talisman_draw_characters
Draw random characters from the Talisman 4e (revised) base set for a character…
#
POST
/api/tools/talisman_draw_encounter
Draw a random encounter for a Talisman ring (outer, middle, inner, crown)
#
POST
/api/tools/timer_suggest
Suggest time controls for a game based on player count and complexity
#