search_legislation

Returns the titles matching a search, each with its ids, kind, portfolio, issuing authority, dates and an in_force block. Use it to find a title before reading it.

FactValue
Toolsearch_legislation
Partner scope requiredlegislation:read
Subscriber tier requiredAI Pro
Accepts as_atno

Parameters

NameTypeRequiredDefault
querystringnonull
kindarray of stringnonull
statusarray of stringnonull
portfolioarray of stringnonull
issuing_authorityarray of stringnonull
made_fromstringnonull
made_tostringnonull
registered_fromstringnonull
registered_tostringnonull
sort_bystringno"relevance"
limitintegerno10
offsetintegerno0
fibobooleannofalse
regulatorarray of stringnonull

Notes

Request (search_legislation with {"query":"Privacy Act 1988","limit":3})

Python SDK

import asyncio, os
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client

async def main():
    headers = {"Authorization": f"Bearer {os.environ['LAWATLAS_API_KEY']}"}
    async with streamablehttp_client("https://advisor.lawatlas.ai/api/mcp", headers=headers) as (read, write, _):
        async with ClientSession(read, write) as session:
            await session.initialize()
            result = await session.call_tool("search_legislation", {
                "query": "Privacy Act 1988",
                "limit": 3
            })
            print(result.content[0].text)

asyncio.run(main())

curl

curl -s https://advisor.lawatlas.ai/api/mcp \
  -H "Authorization: Bearer $LAWATLAS_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_legislation","arguments":{"query":"Privacy Act 1988","limit":3}}}'

Response, as Advisor returned it on 10 October 2026. The tool's result is the JSON text of result.content[0].text; lists and long text are trimmed where marked "...".

{
  "schema_version": "2.4",
  "total": 2,
  "limit": 3,
  "offset": 0,
  "as_at": "2026-10-10",
  "items": [
    {
      "id": "eae28dff-3ff5-48eb-af3f-38686e6f650e",
      "title_id": "C2004A03712",
      "compilation_id": "C2026C00227",
      "title": "Privacy Act 1988",
      "kind": "act",
      "status": "InForce",
      "in_force": {
        "in_force": true,
        "frl_status": "InForce",
        "since": null,
        "confirmed_with_frl_at": "2026-10-09T16:37:46.550767Z",
        "frl_link": "https://www.legislation.gov.au/Details/C2026C00227",
        "notice": "In force according to the Federal Register of Legislation, as last confirmed on the date shown."
      },
      "portfolio": "Attorney-General's Department",
      "portfolio_count": 2,
      "portfolios": [
        "Attorney-General's Department",
        "Department of The Treasury"
      ],
      "issuing_authority": "PARLIAMENT",
      "issuing_authority_name": "Parliament",
      "made_date": "1988-12-14",
      "commence_date": "1988-12-14",
      "registered_date": "2005-01-01",
      "last_updated": "2026-06-04",
      "year": 1988,
      "source_url": "https://www.legislation.gov.au/Details/C2026C00227"
    },
    {
      "id": "da1a91dc-3e1c-4098-a1af-c2010bbf24fc",
      "title_id": "F2024L00463",
      "compilation_id": "F2024L00463",
      "title": "Guidelines issued under Section 95(1) of the Privacy Act 1988 (Cth)",
      "kind": "legislative_instrument",
      "status": "InForce",
      "in_force": {
        "in_force": true,
        "frl_status": "InForce",
        "since": null,
        "confirmed_with_frl_at": "2026-10-09T16:45:40.760729Z",
        "frl_link": "https://www.legislation.gov.au/Details/F2024L00463",
        "notice": "In force according to the Federal Register of Legislation, as last confirmed on the date shown."
      },
      "portfolio": "Attorney-General's Department",
      "portfolio_count": 2,
      "portfolios": [
        "Attorney-General's Department",
        "Department of Health, Disability and Ageing"
      ],
      "issuing_authority": null,
      "issuing_authority_name": null,
      "maker": {
        "name": "PRUE ALISON TORRANCE",
        "office": "Chief Executive Officer (A/g) of the National Health and Medical Research Council",
        "source": "the instrument's making words",
        "check": "not_applicable",
        "check_note": "Not a minister's office; the ministry record does not apply."
      },
      "made_date": "2024-03-21",
      "commence_date": "2024-04-22",
      "registered_date": "2024-04-22",
      "last_updated": "2024-04-22",
      "year": 2024,
      "source_url": "https://www.legislation.gov.au/Details/F2024L00463"
    }
  ]
}

Data currency: Advisor serves the text of titles that the Federal Register of Legislation records as in force. It does not return the text of a repealed, ceased or sunset title, for any date.

  • A title or a served provision carries a status block (status, or in_force in a list) with in_force, frl_status and confirmed_with_frl_at: when Advisor last confirmed the status with the Federal Register.
  • Served text and search hits carry a compilation block with register_id, compilation_no, check_date and state. state is one of four values:
    • current: the Federal Register's latest list names the compilation the text comes from.
    • not_current: the Federal Register lists a newer compilation. Tell the user, and use the frl_link in the response.
    • pending_compilation: amendments have commenced that are not yet compiled, so the text does not include them.
    • not_confirmed: the Federal Register lists no current compilation, or Advisor holds no record of one. Treat it as unknown.
  • TITLE_NOT_IN_FORCE and COMPILATION_NOT_CURRENT are answers, not failures. Show the user the Federal Register link in the response and do not fill the gap from another source.

FIBO alignment

Pass fibo: true to add a fibo block that classifies the result with the vocabulary of FIBO, the Financial Industry Business Ontology many banks use to model their data. Without it, or with fibo: false, the response is exactly what it was. The block classifies; it adds no claim. LawAtlas.ai has offered its Australian regulator files to the EDM Council for FIBO, and until they are merged their identifiers are published at lawatlas.ai/ontology/fibo-au. FIBO is a trademark of the EDM Council.

A response with the block also carries fibo_alignment (the block's version, the FIBO release it was checked against, the namespace and the rule) and its own schema_version.

For the whole path, from a regulator to its standard's obligation rows, see Classify Advisor data with FIBO.

With fibo: true, APRA's CPS 230: a FIBO Regulation, made by APRA's role as prudential regulator.

Request (search_legislation with {"query":"CPS 230","issuing_authority":["APRA"],"limit":1,"fibo":true})

Python SDK

import asyncio, os
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client

async def main():
    headers = {"Authorization": f"Bearer {os.environ['LAWATLAS_API_KEY']}"}
    async with streamablehttp_client("https://advisor.lawatlas.ai/api/mcp", headers=headers) as (read, write, _):
        async with ClientSession(read, write) as session:
            await session.initialize()
            result = await session.call_tool("search_legislation", {
                "query": "CPS 230",
                "issuing_authority": [
                    "APRA"
                ],
                "limit": 1,
                "fibo": true
            })
            print(result.content[0].text)

asyncio.run(main())

curl

curl -s https://advisor.lawatlas.ai/api/mcp \
  -H "Authorization: Bearer $LAWATLAS_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_legislation","arguments":{"query":"CPS 230","issuing_authority":["APRA"],"limit":1,"fibo":true}}}'

Response, as Advisor returned it on 30 October 2026. The tool's result is the JSON text of result.content[0].text; lists and long text are trimmed where marked "...".

{
  "schema_version": "2.6",
  "total": 1,
  "limit": 1,
  "offset": 0,
  "as_at": "2026-10-29",
  "items": [
    {
      "id": "d0e30b93-9487-4ccc-9b8b-26c0a6a53d3f",
      "title_id": "F2026L00475",
      "compilation_id": "F2026L00475",
      "title": "Banking, Insurance, Life Insurance, Health Insurance and Superannuation (prudential standard) determination No. 1 of 2026",
      "kind": "legislative_instrument",
      "status": "InForce",
      "in_force": {
        "in_force": true,
        "frl_status": "InForce",
        "since": null,
        "confirmed_with_frl_at": "2026-10-23T17:36:21.788051Z",
        "frl_link": "https://www.legislation.gov.au/Details/F2026L00475",
        "notice": "In force according to the Federal Register of Legislation, as last confirmed on the date shown."
      },
      "portfolio": "Department of The Treasury",
      "portfolio_count": 1,
      "portfolios": [
        "Department of The Treasury"
      ],
      "issuing_authority": "APRA",
      "issuing_authority_name": "Australian Prudential Regulation Authority",
      "maker": {
        "name": "Ian Beckett",
        "office": "a delegate of APRA",
        "source": "the instrument's making words",
        "check": "not_applicable",
        "check_note": "Not a minister's office; the ministry record does not apply."
      },
      "standard_code": "CPS 230",
      "made_date": "2026-04-23",
      "commence_date": "2026-04-29",
      "registered_date": "2026-04-29",
      "last_updated": "2026-04-29",
      "year": 2026,
      "source_url": "https://www.legislation.gov.au/Details/F2026L00475",
      "fibo": {
        "release": "FIBO master_2026Q3, commit 33a92cd",
        "type": "https://spec.edmcouncil.org/fibo/ontology/FND/Law/LegalCapacity/Regulation",
        "type_label": "regulation",
        "made_by": "https://lawatlas.ai/ontology/fibo-au/AURegulatoryAgencies/AustralianPrudentialRegulator",
        "from_issuing_authority": "APRA",
        "is_in_force_in": {
          "jurisdiction": "https://lawatlas.ai/ontology/fibo-au/AUGovernmentEntitiesAndJurisdictions/AustralianJurisdiction",
          "confirmed_with_frl_at": "2026-10-23T17:36:21.788051Z"
        }
      }
    }
  ],
  "fibo_alignment": {
    "version": "1.0",
    "release": "FIBO master_2026Q3, commit 33a92cd",
    "namespace": "https://lawatlas.ai/ontology/fibo-au/",
    "rule": "Each fibo block classifies a result with FIBO vocabulary; it adds no claim. An obligation row is linked to a FIBO class by skos:closeMatch, never typed as one: the row is a quoted provision whose text expresses an obligation, not a statement of whom it applies to.",
    "note": "LawAtlas.ai has offered these Australian individuals to the EDM Council for FIBO; until they are merged their IRIs are in LawAtlas.ai's namespace."
  }
}

Regulator: the laws the law gives a body

Pass regulator (a code or a full name, case-insensitive, any of) for the laws the law itself gives that body. It is a different question from issuing_authority, which is who made a title: the Parliament makes every Act, so no Act is a regulator's by its maker.

Errors

CodeMeaningWhat to do
INVALID_ARGUMENTA value is not one the tool accepts; the message lists the valid onesUse a listed value

Related tools