build_list_backgrounds
List Pathfinder 2e backgrounds from the official rules database for character creation, with optional name filtering and legacy content inclusion. Each entry displays trained skills and granted items.
Instructions
List backgrounds, optionally filtered by name substring.
`trained_skills` (`{"fixed": [skill slugs], "lore": [Lore skill names]}`)
and `granted_items` (`[{level, name, uuid}]`, `level` always null for a
background -- granted at character creation) come straight from the
background item's own structured `system.trainedSkills`/`system.items`
fields, the same mechanism `build_list_classes` already exposes for
classes -- e.g. Field Medic: trained_skills `{"fixed": ["medicine"],
"lore": ["Warfare Lore"]}`, granted_items `[{"name": "Battle
Medicine", ...}]`.
`include_legacy` (default False): excludes pre-Remaster/OGL-flagged
backgrounds unless set -- 54% of all backgrounds are legacy-flagged and
still fully playable, the single largest exclusion of any pack this
filter touches. See `_legacy_filter_sql`.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | ||
| include_legacy | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |