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
| Name | Type | Required | Description |
|---|---|---|---|
id | string | no | Title id from au_law_search, e.g. “C2004A03712” |
year | number | no | Act year (with number), instead of id |
number | number | no | Act number in that year (with year), instead of id |
section | string | no | Section number, e.g. “6” or “13G” |
max_chars | number | no | Cap 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
| Field | Type | Description |
|---|---|---|
found | boolean | |
id | string | |
title | string | |
collection | string | |
citation | string | |
year | number | |
number | number | |
making_date | string | |
status | string | |
in_force | boolean | |
principal | boolean | |
current_compilation | object | |
url | string | |
source | string | |
data_as_of | string | |
section | string | |
section_title | string | |
text | string |
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.