pk_get_act

Pack: pakistan-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/pk_get_act for the schema, then POST the same URL with its arguments for the data.

Overview of one Pakistani federal Act: page count, opening text (title, preamble) and the list of section headings, so you can pick a section for pk_get_section. Give act (title words) or act_id.

Parameters

NameTypeRequiredDescription
actstringnoAct title words, e.g. “Contract Act”.
act_idstringnoact_id from pk_search_acts.

Example call

Arguments

{
  "act": "Contract Act"
}

curl

curl -X POST https://gateway.pipeworx.io/pakistan-law/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"pk_get_act","arguments":{"act":"Contract Act"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('pk_get_act', {
  "act": "Contract Act"
});

Response shape

FieldTypeDescription
foundboolean
act_idstring
titlestring
pagesnumber
charactersnumber
preamblestring
section_headingsarray
headings_countnumber
notestring
publisherstring
sourcestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "act_id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "pages": {
      "type": "number"
    },
    "characters": {
      "type": "number"
    },
    "preamble": {
      "type": "string"
    },
    "section_headings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "headings_count": {
      "type": "number"
    },
    "note": {
      "type": "string"
    },
    "publisher": {
      "type": "string"
    },
    "source": {
      "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 pakistan-law pack
{
  "mcpServers": {
    "pakistan-law": {
      "url": "https://gateway.pipeworx.io/pakistan-law/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 11, 2026