sunset_radar

Returns the legislative instruments that will be repealed automatically by sunsetting (Part 4 of Chapter 3 of the Legislation Act 2003) within the horizon, ordered by sunset date.

FactValue
Toolsunset_radar
Partner scope requiredgraph:read
Subscriber tier requiredAI Pro
Accepts as_atno

Parameters

NameTypeRequiredDefault
portfoliostringnonull
issuing_authorityarray of stringnonull
horizon_daysintegerno365
limitintegerno50

Notes

Request (sunset_radar with {"horizon_days":200,"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-http/mcp", headers=headers) as (read, write, _):
        async with ClientSession(read, write) as session:
            await session.initialize()
            result = await session.call_tool("sunset_radar", {
                "horizon_days": 200,
                "limit": 3
            })
            print(result.content[0].text)

asyncio.run(main())

curl

curl -s https://advisor.lawatlas.ai/api/mcp-http/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":"sunset_radar","arguments":{"horizon_days":200,"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 "...".

{
  "radar_horizon": "2027-04-28",
  "portfolio_filter": null,
  "issuing_authority_filter": null,
  "upcoming_sunsets": [
    {
      "id": "33613098-05e8-4abe-b6ed-51cd751cf72a",
      "title": "Control of Naval Waters Regulation 2015",
      "portfolio": "Department of Defence",
      "portfolio_count": 1,
      "portfolios": [
        "Department of Defence"
      ],
      "issuing_authority": "GG",
      "issuing_authority_name": "Governor-General",
      "maker": {
        "name": "the Honourable Alex Chernov AC QC",
        "office": "Administrator of the Government of the Commonwealth of Australia",
        "source": "the instrument's making words",
        "check": "not_applicable",
        "check_note": "Not a minister's office; the ministry record does not apply."
      },
      "title_id": "F2015L00365",
      "compilation_id": "F2015L00365",
      "register_id": "F2015L00365",
      "sunset_date": "2027-04-01",
      "days_remaining": 173,
      "source_url": "https://www.legislation.gov.au/Details/F2015L00365"
    },
    {
      "id": "680a91fd-c6ce-45df-8d00-e742e0b3a005",
      "title": "Income Tax Assessment Act 1997 – Exploration Development Incentive Modulation Factor – Declaration Instrument (No. 2) 2016",
      "portfolio": "Department of The Treasury",
      "portfolio_count": 1,
      "portfolios": [
        "Department of The Treasury"
      ],
      "issuing_authority": "ATO",
      "issuing_authority_name": "Commissioner of Taxation",
      "maker": {
        "name": "Bruce Collins",
        "office": "Acting Deputy Commissioner of Taxation",
        "source": "the instrument's making words",
        "check": "not_applicable",
        "check_note": "Not a minister's office; the ministry record does not apply."
      },
      "title_id": "F2016L01854",
      "compilation_id": "F2016L01854",
      "register_id": "F2016L01854",
      "sunset_date": "2027-04-01",
      "days_remaining": 173,
      "source_url": "https://www.legislation.gov.au/Details/F2016L01854"
    },
    {
      "id": "f6fe0b91-66bc-4484-bd78-a342e60fe2a9",
      "title": "Veterans' Entitlements (Veterans' Children Education Scheme) Eligible Persons Determination 2017",
      "portfolio": "Department of Veterans' Affairs",
      "portfolio_count": 1,
      "portfolios": [
        "Department of Veterans' Affairs"
      ],
      "issuing_authority": null,
      "issuing_authority_name": null,
      "title_id": "F2017L00268",
      "compilation_id": "F2017L00268",
      "register_id": "F2017L00268",
      "sunset_date": "2027-04-01",
      "days_remaining": 173,
      "source_url": "https://www.legislation.gov.au/Details/F2017L00268"
    }
  ]
}

Errors

CodeMeaningWhat to do
INVALID_ARGUMENTAn issuing_authority code is unknownUse a code from list_issuing_authorities

Related tools