search
Search Canadian legal databases for cases, legislation, and commentary using keywords and jurisdiction filters to find relevant legal sources.
Instructions
Search CanLII for cases, legislation, and commentary by keyword. This is the primary entry point for legal research. Returns case citations and titles ranked by relevance — does NOT include keywords, dates, or URLs. Call get_case_metadata on promising results to get full details before citing a case. Search is keyword-based, not semantic — use specific legal terms rather than natural language. Common terms: 'best interests of the child', 'material change in circumstances', 'standard of review', 'duty to consult', 'reasonable expectation of privacy'. Include jurisdiction to narrow results (e.g., 'Ontario', 'Alberta'). Date filters are NOT supported on search. Always cite the CanLII citation and provide the case URL so the user can verify the source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Full-text search query. Can include case names, legal concepts, legislation references, or keywords. | |
| language | No | Language: 'en' for English (default), 'fr' for French | en |
| resultCount | No | Number of results to return (1-100, default 10). Keep low for AI context efficiency. | |
| offset | No | Pagination offset (default 0). Use to page through results. |