bd_law_get
Pack: bangladesh · 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/bd_law_get for the schema, then POST the same URL with its arguments for the data.
Read a Bangladesh Act or Ordinance from the Laws of Bangladesh: title, Act number, date, repealed status as the register states it (null when it states none) and the contents list; with section (e.g. “302” of the Penal Code 1860), the text of that section. Give act_id from bd_law_search, or act (title words).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
act_id | string | no | act_id from bd_law_search, e.g. “11” for the Penal Code 1860. |
act | string | no | Act title words, e.g. “Penal Code, 1860” (first Act match is used). Prefer act_id. |
section | string | no | Section number, e.g. “302” or “7A”. Omit for the Act overview. |
Example call
Arguments
{
"act_id": "11",
"section": "302"
}
curl
curl -X POST https://gateway.pipeworx.io/bangladesh/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bd_law_get","arguments":{"act_id":"11","section":"302"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('bd_law_get', {
"act_id": "11",
"section": "302"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
reason | string | |
act_id | string | |
title | string | |
act_number | string | null | |
date_of_assent | string | null | |
status | string | null | |
status_statement | string | null | |
citation | string | |
url | string | |
section | string | |
section_heading | string | |
text | string | |
truncated | boolean | |
section_count | number | |
sections | array | |
note | string | |
publisher | string | |
source | string | |
data_as_of | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"act_id": {
"type": "string"
},
"title": {
"type": "string"
},
"act_number": {
"type": [
"string",
"null"
]
},
"date_of_assent": {
"type": [
"string",
"null"
]
},
"status": {
"type": [
"string",
"null"
]
},
"status_statement": {
"type": [
"string",
"null"
]
},
"citation": {
"type": "string"
},
"url": {
"type": "string"
},
"section": {
"type": "string"
},
"section_heading": {
"type": "string"
},
"text": {
"type": "string"
},
"truncated": {
"type": "boolean"
},
"section_count": {
"type": "number"
},
"sections": {
"type": "array",
"items": {
"type": "string"
}
},
"note": {
"type": "string"
},
"publisher": {
"type": "string"
},
"source": {
"type": "string"
},
"data_as_of": {
"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 bangladesh pack
{
"mcpServers": {
"bangladesh": {
"url": "https://gateway.pipeworx.io/bangladesh/mcp"
}
}
}
See Getting Started for client-specific install steps.