Search vault rules
vault_search_rulesSearch the rules library the user has access to (stock content plus their own house rules). Use this to locate a rule by name, type (the type field lists the rule types), or ruleset. Defaults to a compact summary shape (identification + summary + categories + publisher / source); pass detail: 'full' to receive each rule's full description and embedded sub-document arrays inline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Substring match on rule name (case-insensitive). Use `^name$` for an exact match. | |
| skip | No | Pagination offset; pair with `limit` to walk results. | |
| sort | No | Comma-separated field list. Prefix with `-` for descending (e.g. `-updatedAt,name`). | |
| type | No | Rule category to filter to. | |
| limit | No | Page size; defaults to 50 when omitted. Hard cap of 200. | |
| stock | No | true = official/WOTC content only; false = user-authored house rules only; omit to include both. | |
| detail | No | Response shape. 'summary' (default) returns identification + summary fields; 'full' returns the complete document shape (every field inline) that non-MCP clients receive by default. | summary |
| ruleset | No | Ruleset code, from list_rulesets. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | No | ||
| pagination | No |