wa_law_find_act
Pack: wa-legislation · 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/wa_law_find_act for the schema, then POST the same URL with its arguments for the data.
Find a Western Australian Act by title (state law, not federal). Returns matching Acts in force, or ceased Acts with status “ceased”, with act number, the site’s Act id and the current consolidated version date. Titles are listed alphabetically, so the title must START with the first letters you give, e.g. “Industrial Relations Act 1979” or just “Industrial Relations”. Use the returned act_id with wa_law_get_section and wa_law_get_definition.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
title | string | yes | Act title or the start of it, case-insensitive, e.g. “Industrial Relations Act 1979”, “Criminal Code”. |
status | string | no | In-force Acts (default) or ceased Acts. |
limit | number | no | Max matches (1-50, default 10). |
Example call
Arguments
{
"title": "Industrial Relations Act 1979"
}
curl
curl -X POST https://gateway.pipeworx.io/wa-legislation/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"wa_law_find_act","arguments":{"title":"Industrial Relations Act 1979"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('wa_law_find_act', {
"title": "Industrial Relations Act 1979"
});
Response shape
| Field | Type | Description |
|---|---|---|
source | string | |
status | string | |
searched_titles_starting_with | string | |
acts_listed_under_letter | number | |
total_matches | number | |
returned | number | |
acts | array |
Full JSON Schema
{
"type": "object",
"properties": {
"source": {
"type": "string"
},
"status": {
"type": "string"
},
"searched_titles_starting_with": {
"type": "string"
},
"acts_listed_under_letter": {
"type": "number"
},
"total_matches": {
"type": "number"
},
"returned": {
"type": "number"
},
"acts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"act_id": {
"type": "string"
},
"act_no": {
"type": "string"
}
},
"additionalProperties": true
}
}
},
"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 wa-legislation pack
{
"mcpServers": {
"wa-legislation": {
"url": "https://gateway.pipeworx.io/wa-legislation/mcp"
}
}
}
See Getting Started for client-specific install steps.