search_canlii
Search the Canadian legal database for full-text judgments and documents by keyword, phrase, or case name.
Instructions
Search the CanLII Canadian legal database and return the full text of matching documents.
search_type values:
'text': full-text search within document bodies — use for legal concepts, keywords, or phrases in judgments
'name': search by case name, document title, file number, author, or citation — use for 'R v Oakes' or '2024 SCC 12'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search query | |
| max_results | No | Number of documents to fetch and return | |
| search_type | No | Which CanLII search box to use | text |