rules_search
Search Pathfinder 2e rules content by keyword, type, or source. Returns compact summaries of matching rules entries, with an option to include legacy content for a full catalog.
Instructions
Full-text search over PF2e rules content. Returns compact summaries (id/name/pack/type/level/category) -- call rules_get_entry with an id for the full description and raw data of a specific result.
`include_legacy` (default False): excludes pre-Remaster/OGL-flagged
content unless set -- but `is_remaster: false` does NOT mean "retired,"
just "not (yet) reprinted under ORC" (54% of backgrounds, 38% of
ancestries are legacy-flagged and still fully playable), so set this
True whenever the user wants the full catalog. See
`licensing.legacy_filter_sql`.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pack | No | ||
| type | No | ||
| limit | No | ||
| query | Yes | ||
| include_legacy | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |