search_cubes_by_title
Find Statistics Canada data cubes by searching English or French titles. Use multiple keywords to narrow results, returning matching cube IDs and titles.
Instructions
Searches for data cubes/tables where the English or French title contains the provided search term (case-insensitive). Returns a list of matching cubes in the 'lite' format (excluding dimensions/footnotes).
Multiple keywords use AND logic (e.g., "tobacco smoking age" finds cubes containing ALL three words). Results are capped at max_results (default 25).
IMPORTANT: In your final response to the user, you MUST cite the source of your data. For cubes, this means including the ProductId (pid) and the Title.
Raises: httpx.HTTPStatusError: If the underlying API call fails. Exception: For other network or unexpected errors during the fetch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No | Max matching cubes to return. Default 25. | |
| search_term | Yes | Text to search for in cube titles. Multiple keywords use AND logic. |