---
title: "Full-text search across all published rulebooks. Returns section-typed results with deep-link anchors."
method: POST
path: "/api/tools/rules_search"
---

# Full-text search across all published rulebooks. Returns section-typed results with deep-link anchors.

`POST /api/tools/rules_search`

## Request

- Base URL: `https://tools.moddable.games`
- URL: `https://tools.moddable.games/api/tools/rules_search`
- Auth: none declared

## Request body

- object
  - `query` string, required: Search query
  - `game` string: Limit to specific game slug
  - `sectionType` string: Filter by section type (general, board, pieces, setup, movement, capture, winning, special, variants)
  - `limit` number: Max results (default 10)

## Response `200`

Tool result

---

[API](https://skmtc.dev/moddable/apis/moddable-games-tools.md) · [All operations](https://skmtc.dev/moddable/apis/moddable-games-tools/llms.txt) · [OpenAPI document](https://skmtc.dev/moddable/apis/moddable-games-tools/revisions/637a0b62cb9a?raw)
