Parliamentary Policy Vibe Check
parliament_vibe_checkAnalyze UK parliamentary sentiment on policy proposals by searching Hansard debates to identify supporters, opponents, and key concerns.
Instructions
Assess the likely parliamentary reception of a policy proposal.
Searches Hansard for relevant debate contributions, then uses LLM sampling to classify sentiment and extract supporters, opponents, and key concerns.
Degrades gracefully if sampling is unavailable — returns contributions only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | PolicyVibeInput with policy_text (full description) and topic (search keyword). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The policy query that was analysed | |
| contributions | Yes | Raw contributions retrieved from Hansard | |
| sentiment_summary | No | LLM-generated sentiment summary (None if sampling unavailable) | |
| key_supporters | No | Members identified as supportive | |
| key_opponents | No | Members identified as opposed or critical | |
| key_concerns | No | Main concerns raised in debate |