Canparl Search Votes
canparl_search_votesFind recorded House divisions in one session by bill, result, document type, date, or subject. Return newest first and pass session plus number to canparl_get_vote. Omitted session resolves from the current official bill feed. Follow nextOffset with identical filters.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "canparl_search_votes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| dateTo | No | Inclusive Ottawa civil date YYYY-MM-DD; independently optional. | |
| offset | No | Zero-based offset in the selected ordering. | |
| result | No | Official result from vote_results; Passed and Failed are accepted aliases. | |
| session | No | Parliamentary session; omitted means current. | |
| billCode | No | Exact bill code, including a split-bill suffix letter such as C-15A; accepts bill s321, S321, S 321, or S-321. | |
| dateFrom | No | Inclusive Ottawa civil date YYYY-MM-DD; independently optional. | |
| documentType | No | Official category from canparl_list_reference topic vote_document_types. | |
| subjectContains | No | Literal subject substring; matching ignores case, accents, dash and quote styles, and repeated whitespace. |
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 division count. | |
| total | No | Exact matching count before pagination. | |
| notice | No | Limit clamp, empty-result, past-end, or response-budget guidance. | |
| session | No | Resolved official session. | |
| divisions | No | Matching divisions, date-time descending then number descending. | |
| truncated | No | Whether more matches remain. | |
| pagination | No | Continuation within the filtered ordering. | |
| provenance | No | Source retrieval metadata. | |
| totalCount | No | Exact matching count. | |
| appliedFilters | No | Normalized AND filters. |