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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "vault_search_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Matches the rule's name or any other name it is known by (a stock rule with a generic name also answers to its rulebook name), ignoring case, apostrophe style, spaces, and hyphens. Results show the stock name. 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. | |
| character | No | Mongo `_id` of the vault Character you are picking content for (adding to its sheet, building or levelling it). Pass it whenever the results are offered for a particular Character: the stock records its Worlds hide are left out, as in the app's own pickers. An id that names no Character the user can see is ignored. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | No | ||
| pagination | No |