Canparl Search Members
canparl_search_membersFind current House MPs by name, riding, province, or caucus. Set includeFormer for OpenParliament's historical name index; historical rows may contain only a name and slug. Follow nextOffset with identical filters and use detailLookup with canparl_get_member.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Current: literal name substring. Historical: one token is surname lookup; multiple tokens are full recorded name lookup, not substring search. | |
| limit | No | Maximum rows, default 25, effective cap 100; values through 10000 are accepted and clamp with a notice. Whole records may end the page early at the 24000-byte response budget; follow nextOffset. | |
| party | No | Official caucus name; Bloc and Green aliases accepted; current roster only. | |
| offset | No | Zero-based offset in the selected ordering. | |
| riding | No | Literal riding substring; current roster only. | |
| province | No | Province postal code or full English name; current roster only. | |
| includeFormer | No | Use the sparse historical name index instead of the complete current official roster. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | Effective page limit after the per-call cap. | |
| error | No | Present when the call failed. Absent on success. | |
| shown | No | Returned row count. | |
| total | No | Exact filtered current count; null for historical index. | |
| notice | No | Limit clamp, empty page, historical coverage, or response-budget guidance. | |
| members | No | Returned member identities. | |
| truncated | No | More queried rows remain. | |
| pagination | No | Continuation in the selected source ordering. | |
| provenance | No | Original source retrieval metadata. | |
| totalCount | No | Exact filtered current roster count; absent for historical searches. | |
| appliedFilters | No | Normalized AND filters and name semantics. |