au_law_get

Pack: australia-law · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/au_law_get for the schema, then POST the same URL with its arguments for the data.

Fetch one Australian Commonwealth title by id from au_law_search (e.g. “C2004A03712” for the Privacy Act 1988), or for an Act by year and number (e.g. year 1988, number 119). Returns title, citation (Act number and year), making date, in-force status, the current compilation (number, start and end dates, register id) and the text of the current compilation. Pass section (e.g. “6” or “13G”) for one section; without it the text is capped at max_chars with a section list. Schedules are not addressable by section.

Parameters

NameTypeRequiredDescription
idstringnoTitle id from au_law_search, e.g. “C2004A03712”
yearnumbernoAct year (with number), instead of id
numbernumbernoAct number in that year (with year), instead of id
sectionstringnoSection number, e.g. “6” or “13G”
max_charsnumbernoCap on returned text when no section is given (default 20000, max 100000)

Example call

Arguments

{
  "id": "C2004A03712",
  "section": "6"
}

curl

curl -X POST https://gateway.pipeworx.io/australia-law/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"au_law_get","arguments":{"id":"C2004A03712","section":"6"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('au_law_get', {
  "id": "C2004A03712",
  "section": "6"
});

Response shape

FieldTypeDescription
foundboolean
idstring
titlestring
collectionstring
citationstring
yearnumber
numbernumber
making_datestring
statusstring
in_forceboolean
principalboolean
current_compilationobject
urlstring
sourcestring
data_as_ofstring
sectionstring
section_titlestring
textstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "collection": {
      "type": "string"
    },
    "citation": {
      "type": "string"
    },
    "year": {
      "type": "number"
    },
    "number": {
      "type": "number"
    },
    "making_date": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "in_force": {
      "type": "boolean"
    },
    "principal": {
      "type": "boolean"
    },
    "current_compilation": {
      "type": "object",
      "properties": {
        "number": {
          "type": "string"
        },
        "register_id": {
          "type": "string"
        },
        "start": {
          "type": "string"
        },
        "end": {
          "type": "string"
        },
        "is_current": {
          "type": "boolean"
        }
      },
      "additionalProperties": true
    },
    "url": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "section": {
      "type": "string"
    },
    "section_title": {
      "type": "string"
    },
    "text": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the australia-law pack
{
  "mcpServers": {
    "australia-law": {
      "url": "https://gateway.pipeworx.io/australia-law/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 15, 2026