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.
| Fact | Value |
|---|---|
| Tool | search_legislation |
| Partner scope required | legislation:read |
| Subscriber tier required | AI Pro |
Accepts as_at | no |
Parameters
| Name | Type | Required | Default |
|---|---|---|---|
query | string | no | null |
kind | array of string | no | null |
status | array of string | no | null |
portfolio | array of string | no | null |
issuing_authority | array of string | no | null |
made_from | string | no | null |
made_to | string | no | null |
registered_from | string | no | null |
registered_to | string | no | null |
sort_by | string | no | "relevance" |
limit | integer | no | 10 |
offset | integer | no | 0 |
fibo | boolean | no | false |
regulator | array of string | no | null |
Notes
- In force by default. With no
status, only titles in force today are returned.statusfilters by the Federal Register's own status; no tool serves the text of a title that is not in force. - Values are case-insensitive, and an unknown value is refused with the valid list.
kind: act, legislative_instrument, notifiable_instrument, prerogative_instrument, continued_law, constitution, or instrument (both instrument kinds).issuing_authority: a code or a full name;list_issuing_authoritiesreturns the valid values. makeris on every item: the person and office named in the instrument's making words, withchecksaying whether the ministry record confirms that person held that office on the day. It isnullwhere the making words were not read, and alwaysnullfor an Act, which the Parliament makes without making words; a response with anullmaker says why once, inmaker_note.nullis not a finding that the instrument has no making words.- Large pages are cut, never refused. A cut page carries
truncated: true,returnedandnext_offset; call again withoffsetset tonext_offset.
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, orin_forcein a list) within_force,frl_statusandconfirmed_with_frl_at: when Advisor last confirmed the status with the Federal Register.- Served text and search hits carry a
compilationblock withregister_id,compilation_no,check_dateandstate.stateis 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 thefrl_linkin 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_FORCEandCOMPILATION_NOT_CURRENTare 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.
- On a title:
typeis the FIBO class for its kind (an Act isStatuteLaw, a legislative instrumentRegulation, the ConstitutionConstitution; other kinds arenullwithtype_note).made_byis the maker as a FIBO individual: the Parliament for an Act, the regulator's role for APRA, ASIC, AUSTRAC, the RBA, the AASB, the AUASB and the ATO, otherwisenullwithmade_by_note.from_issuing_authoritynames the code it restates.is_in_force_inappears only when the title is in force, and repeats itsconfirmed_with_frl_at. - On an obligation row:
expresseslinks the row to a FIBO class byskos:closeMatch, never as a type: the row is a quoted provision whose text expresses an obligation, not the obligation itself. A requirement or prohibition closely matchesLegalObligation(FIBO has no prohibition class, and says so). An offence, a benefit condition and a deeming provision haveclass: nullwith the reason.claimrepeats the response's claim, word for word, on every row. - Notification obligations (rule OBL-13): a requirement whose words give or furnish a report or notice to a party, notify or inform a party, or report to, submit to, lodge with or serve on a party closely matches
NotificationObligation, with the words matched, the recipient as the text names it, andnamed_in_text, the obligation's own name where the text gives one ("suspicious matter reporting obligation"). Examples are "must give the AUSTRAC CEO a report", "must give written notice to ASIC", "must give the applicant written notice" and "must give public notice" (the recipient is the public). One adverb may stand between the duty and the verb, as in "must immediately notify the Coroner" or "must also give the Minister a statement", and so may an aside of up to 300 characters, as in "must, within 30 days after notifying NOPSEMA of an incident …, give a written report to NOPSEMA". "Give to [a party] … a report" is matched wherever a requirement's words have it, as in "must, as soon as practicable after 30 June in each year, prepare and give to the Minister a report". Where the row is one item of a list, such as "must notify: if the proceeding is being heard by a Full Court—the presiding Judge", the recipient is the party that item names. The form of the communication is not judged: a duty to give oral notice is matched as a duty to give written notice is, and the matched words show the form where the text states it. A row that does not match stays a legal obligation; a non-match says nothing about whether it is a notification. Each pattern is served only after its matches have been measured over the whole corpus and accepted on review. - On an issuing authority:
organisationandroleIRIs, ornullwith a note.
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.
- An Act is listed where its own words give the body its administration ("Subject to the ASIC Act, ASIC has the general administration of this Act", Corporations Act 2001 s 5B; "The Comptroller-General of Customs has the general administration of this Act", Customs Act 1901 s 7), its supervision ("providing for the prudential supervision of ADIs by APRA", Banking Act 1959 s 2A), or functions under it ("ASIC has such functions and powers as are conferred on it by or under the corporations legislation", ASIC Act s 11(1)). The office is read through the Act's own definitions: the Excise Act's "CEO" is the Commissioner of Taxation.
- An instrument is listed where it is made under such an Act, and keeps its own maker: an AASB standard made under the Corporations Act is listed under ASIC with
made_by: "AASB". - Each item carries
regulator_basis:relation(administersormade_under_administered), therule, thebodyand itstype, theprovisionwith its pinpoint and/l/...link, and thewords. A body is aregulatorwhere it has an entry in the Department of Finance's Regulator Stocktake; anadministering body(the Commonwealth Superannuation Corporation, the Repatriation Commission) or adepartment("the Secretary", read under the Acts Interpretation Act s 19A) is never called a regulator. - Only what the law says. A title whose law names no administering body is not listed, which says nothing about who regulates it in practice. An Act the law gives to several bodies (the SIS Act: "supervision by APRA, ASIC and the Commissioner of Taxation") is listed under each, with the same words.
- An unknown value is refused with the valid list.
Errors
| Code | Meaning | What to do |
|---|---|---|
INVALID_ARGUMENT | A value is not one the tool accepts; the message lists the valid ones | Use a listed value |
Related tools
resolve_reference, for a rough or partial nameget_legislation