# Moddable.Games Tools API

**Canonical:** https://apis.io/apis/moddable-games/moddable-games-tools-api/  
**Provider:** Moddable.Games — https://apis.io/providers/moddable-games/  
**Base URL:** https://tools.moddable.games  
**Documentation:** https://tools.moddable.games

Moddable.Games Tools API is one of 2 APIs that [Moddable.Games](https://apis.io/providers/moddable-games/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Tools. The published artifact set on APIs.io includes an OpenAPI specification.

The Tools API from Moddable.Games — 90 operation(s) for tools.

## Operations (60 of 90)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/tools` | List all available tools |
| 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_list_games` | List all available hex map game types with configuration options |
| POST | `/api/tools/hex_generate_map` | Generate a hex map for a specific game and player count |
| POST | `/api/tools/hex_export_svg` | Generate a hex map and export as SVG |
| POST | `/api/tools/hex_get_info` | Get info about a specific hex coordinate (terrain, neighbours, distance) |
| POST | `/api/tools/hex_compute_fov` | Compute field of view from a hex position |
| POST | `/api/tools/hex_pathfind` | Find shortest path between two hex coordinates |
| POST | `/api/tools/play_list_families` | List all playable game families supported by the engine (chess, draughts, go… |
| POST | `/api/tools/play_list_variants` | List available variants for a game family. |
| POST | `/api/tools/play_get_definition` | Get the full engine definition (topology, render config, pieces, setup FEN) for… |
| POST | `/api/tools/play_create_game` | Create a new game instance for a given family. |
| POST | `/api/tools/play_get_moves` | Get all legal moves for the current position. |
| POST | `/api/tools/play_apply_move` | Apply a move to the game and return the new state. |
| 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_suggest_move` | Use AI to analyse the position and suggest the best move. |
| 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/play_make_moves` | Apply a sequence of moves to a game and return the final state. |
| POST | `/api/tools/rules_list_games` | List all available game rulebooks with metadata (players, duration, complexity… |
| POST | `/api/tools/rules_get_game` | Get full rulebook content for a specific game (markdown). |
| POST | `/api/tools/rules_get_game_meta` | Get structured metadata for a game: players, duration, complexity, mechanics… |
| POST | `/api/tools/rules_get_page` | Get a specific page/section from a game rulebook (e.g. |
| POST | `/api/tools/rules_get_variant_list` | List all variants for a game with structured metadata (players, board, playable… |
| POST | `/api/tools/rules_get_diagram` | Get board diagram SVG URL for a game variant. |
| POST | `/api/tools/rules_get_variant` | Get rules for a specific game variant |
| POST | `/api/tools/rules_search` | Full-text search across all published rulebooks. |
| POST | `/api/tools/rules_random` | Get a random game suggestion from the library |
| POST | `/api/tools/board_gallery_search` | Search the board gallery (335 rendered board layouts across 34 game families) |
| POST | `/api/tools/board_gallery_get` | Get details of a specific board layout by ID |
| POST | `/api/tools/tile_gallery_search` | Search hex tile sets by name, game, or terrain type |
| POST | `/api/tools/tile_gallery_get` | Get details of a specific tile set with all tile types |
| POST | `/api/tools/tile_gallery_stats` | Get statistics about available tile sets |
| POST | `/api/tools/board_gallery_stats` | Get statistics about the board gallery (total boards, families, topologies) |
| POST | `/api/tools/piece_gallery_search` | Search the piece set gallery by name, style, or game type |
| POST | `/api/tools/piece_gallery_get_set` | Get full details and piece list for a specific set |
| 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/oracle_roll` | Roll on a random oracle table (Ironsworn, Starforged, Maze Rats, etc) |
| POST | `/api/tools/oracle_list_tables` | List available oracle tables for a system |
| POST | `/api/tools/oracle_ask` | Ask the oracle a yes/no question with likelihood modifier |
| POST | `/api/tools/oracle_scene` | Generate a scene using oracle tables. |
| POST | `/api/tools/rpg_search_entities` | Search RPG entities (spells, monsters, classes, items) across all systems |
| POST | `/api/tools/rpg_get_entity` | Get full details of a specific RPG entity by name |
| POST | `/api/tools/rpg_random_encounter` | Generate a random encounter for a system and difficulty level |
| POST | `/api/tools/rpg_browse_category` | Browse entities by category with pagination |
| POST | `/api/tools/rpg_loot` | Generate random loot/treasure for a system and tier |

…and 30 more operations. They are listed in full on the page.

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/moddable-games/openapi/moddable-games-tools-api-openapi.yml

## Other Moddable.Games APIs (1)

- [Moddable.Games Call API](https://apis.io/apis/moddable-games/moddable-games-call-api/)

## Tags

Tools

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/moddable-games` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/moddable-games/moddable-games-tools-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/moddable-games/.
