How to Use Justice Laws legislation search in Gemini
Returns matches for a topic within Canadian federal legislation. Use it when you know the issue but need to identify the relevant act, regulation, or section.
Prompts to try with Justice Laws legislation search in Gemini
Copy an example into Gemini, or ask in your own words.
Use Justice Laws legislation search to find provisions about privacy commissioner delegation in the Privacy Act and list the matching sections.
Use Justice Laws legislation search to look this up and give me the result as a table.
Pull the latest numbers from Justice Laws legislation search and tell me what changed since last week.
Check Justice Laws legislation search and summarize what you find in three bullet points.
Pull the newest data from Justice Laws legislation search and give me the result as a table.
How to set up Justice Laws legislation search in Gemini
Pick the way that suits you. Each takes about two minutes.
Use the Gemini connector
- Open Connected Apps
On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.
- Add Spiral as a custom app
Under Custom apps, click Add a custom app and paste this MCP server URL:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.
Use the Spiral skill
- Send Gemini this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Justice Laws legislation search
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "laws-lois-justice-gc-ca/legislation/search_legislation", "input": { "query": "<query>" } }'
Then paste one of the prompts above: Gemini finds Justice Laws legislation search on Spiral, shows the price and runs it.
Justice Laws legislation search providers and prices
Spiral runs Justice Laws legislation search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | 1 to 200 | 1 | 1-based result page (5 hits per page); the continuation cursor is the next page number. |
| Scope | all, acts, or regulations | all | Acts and regulations (default), acts only, or regulations only. |
Every API field of Justice Laws Website (Canada) · Search legislation is on its tool page: open its card above.
What can you do with Justice Laws legislation search in Gemini?
Prepare a cited reading brief on Canadian federal legislation from Justice Laws. A chat app can organize the relevant source material and explain what to read next for a current or historical research question.
Prepare a federal privacy research handbook
Locate the Privacy Act and Privacy Regulations, map their contents, retrieve relevant sections with surrounding text, and compare historical wording for dated examples.
Document access-to-information procedures
Find the Access to Information Act and related regulations, assemble cited passages for a procedures guide, and check which document versions support older guidance.
Review references in a workplace policy
Locate Canada Labour Code references, check quoted provisions against their surrounding sections, and compare the text used when the policy was written with the current consolidation.
Build an environmental legislation briefing
Identify relevant federal legislation for a Fisheries Act research question, organize its headings and regulations, and assemble current and historical passages for a dated briefing.
Create a federal-law reading list
Combine title browsing and topic searches to identify legislation for a course on Canadian public administration. Use document contents to organize the reading list by subject.
Check statutory quotations before publication
Locate a cited federal provision, verify its wording, and read neighboring provisions before publishing an article. Check historical versions when the article describes an earlier period.
More on Justice Laws legislation search and Gemini
Overview
Justice Laws legislation search in other agents
Questions about Justice Laws legislation search in Gemini
Can Gemini use Justice Laws legislation search?
Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run Justice Laws legislation search like any built-in tool.
How much does Justice Laws legislation search cost in Gemini?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini plan is separate.
Do I need an Alexandria account to use Justice Laws legislation search in Gemini?
No. Spiral runs Justice Laws legislation search on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Justice Laws legislation search in Gemini?
About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.
Does Gemini wait while Justice Laws legislation search runs?
Justice Laws legislation search runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.
Does Justice Laws cover provincial legislation?
The consolidated collection covers federal acts and regulations maintained by Canada's Department of Justice. It is not a directory of provincial or territorial legislation.
How current is the legislation?
Consolidations are generally updated every two weeks and typically reflect the law from two to three weeks earlier. The current-to date and last-amended date are separate, so an old amendment date does not by itself mean the consolidation is stale.
How far back can I research the law?
Historical coverage generally starts January 1, 2003 for acts and March 22, 2006 for regulations. The Income Tax Act and Income Tax Regulations have a separate starting date of August 31, 2004.
Is the amendment list a complete history?
No. The displayed amendment list covers amendments effective since January 1, 2019 and is limited to the last 10 amendments, so it should not be treated as the document's entire history.
Are the consolidations official?
Justice Laws consolidations have official status from June 1, 2009 and can be used for evidentiary purposes. That status does not make an agent's summary an official text.
Start using Justice Laws legislation search in Gemini
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini:
set up https://spiral.ai/SKILL.md


