Spiral gives your agent every tool with one account. Browse the tools →

ChatGPT · Public Records

How to Use Justice Laws legislation page in ChatGPT

Returns a document page containing consecutive provisions from a Canadian federal act or regulation. Use it to read surrounding sections together and preserve their context.

Prompts to try with Justice Laws legislation page in ChatGPT

Copy an example into ChatGPT, or ask in your own words.

Use Justice Laws legislation page to read https://laws-lois.justice.gc.ca/eng/acts/P-21/page-1.html and outline the headings and provisions it contains.

Justice Laws legislation pageChatGPT
Try asking
  • Use Justice Laws legislation page to look this up and give me the result as a table.

  • Pull the latest numbers from Justice Laws legislation page and tell me what changed since last week.

  • Check Justice Laws legislation page and summarize what you find in three bullet points.

  • Pull the newest data from Justice Laws legislation page and give me the result as a table.

How to set up Justice Laws legislation page in ChatGPT

Pick the way that suits you. Each takes about two minutes.

Use the ChatGPT connector

  1. Add a custom MCP server

    In ChatGPT open Plugins, then Add › Add custom MCP server. Name it Spiral, paste this URL and keep Authentication on OAuth. Tick I understand and want to continue, then click Create.

    https://api.spiral.ai/mcp
  2. Click Connect

    ChatGPT asks to connect Spiral. Connect takes you to Spiral in your browser.

  3. Sign in to Spiral and approve

    Sign in, pick the organization ChatGPT should use and click Authorize. Spiral gives the connection its own API key; ChatGPT never sees it, and you can remove the connection under Settings › Connected apps.

Use the Spiral skill

  1. Send ChatGPT this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run Justice Laws legislation page

    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/get_page",
        "input": {
          "code": "<code>",
          "page": 1
        }
      }'

Then paste one of the prompts above: ChatGPT finds Justice Laws legislation page on Spiral, shows the price and runs it.

Justice Laws legislation page providers and prices

Spiral runs Justice Laws legislation page through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
Justice Laws Website (Canada) · Get page
laws-lois-justice-gc-ca/legislation/get_page

Settings you can ask for

Ask ChatGPT for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page1 to 500

Page number, as in page-N.html; page 1 starts with the long title.

Every API field of Justice Laws Website (Canada) · Get page is on its tool page: open its card above.

What can you do with Justice Laws legislation page in ChatGPT?

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.

Watch published legislative changes

Compare retrieved dates, version records, pages, and selected sections for a watchlist of federal laws. Produce a review queue showing which published texts changed.

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.

Questions about Justice Laws legislation page in ChatGPT

Can ChatGPT use Justice Laws legislation page?

Yes. Add Spiral to ChatGPT as an MCP server, and ChatGPT can find and run Justice Laws legislation page like any built-in tool.

How much does Justice Laws legislation page cost in ChatGPT?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your ChatGPT plan is separate.

Do I need an Alexandria account to use Justice Laws legislation page in ChatGPT?

No. Spiral runs Justice Laws legislation page 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 page in ChatGPT?

About two minutes: add a custom MCP server, then click Connect, then sign in to Spiral and approve.

Does ChatGPT wait while Justice Laws legislation page runs?

Justice Laws legislation page runs in the background. ChatGPT 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.

Get started

Start using Justice Laws legislation page in ChatGPT

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into ChatGPT:

Set up ChatGPT

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options