get_hansard_section_trees
Fetch the hierarchical structure of UK Parliament debates for a sitting day by house, date, and section to review debate sections as a tree.
Instructions
Get hierarchical structure of debates for a day | Hansard, debate hierarchy, structure | Use to see the tree structure of all debates on a sitting day. Returns hierarchical tree of debate sections.
Args:
house: House: 'Commons' or 'Lords' (1 or 2 also accepted).
date: Date in YYYY-MM-DD format.
section: Section name (e.g. 'Debate', 'WestHall', 'Petitions', 'GEN'). Get valid names from get_hansard_sitting_day.
Returns:
Hierarchical structure of debates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| house | Yes | ||
| section | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |