idn_ojk_regulation_detail

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

One OJK regulation by number (e.g. 9/POJK.04/2018, the 2018 OJK regulation on takeovers of public companies): title, type, sector, effective date and PDF links. Pass include_related=true to also scan the register for amending or revoking regulations; the register has no status field, so that status is inferred from titles and flagged as such. Use for “details of POJK 9/POJK.04/2018”, “was the OJK takeover regulation amended”.

Parameters

NameTypeRequiredDescription
numberstringyesRegulation number, e.g. “9/POJK.04/2018” or “POJK 9/POJK.04/2018”.
include_relatedbooleannoAlso scan the register for regulations whose titles amend or revoke this one (default false; adds about two slow page loads).

Example call

Arguments

{
  "number": "9/POJK.04/2018"
}

curl

curl -X POST https://gateway.pipeworx.io/indonesia-law/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"idn_ojk_regulation_detail","arguments":{"number":"9/POJK.04/2018"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('idn_ojk_regulation_detail', {
  "number": "9/POJK.04/2018"
});

Response shape

FieldTypeDescription
foundboolean | null
numberstring | null
number_matches_requestboolean
titlestring | null
typestring | null
sectorstring | null
subsectorstring | null
effective_datestring | null
page_urlstring | null
pdf_urlsarray
statusstring | null
status_notestring | null
amendmentsarray
related_same_subjectarray
article_text_hintstring | null
reasonstring | null
hintstring | null
messagestring | null
publisherstring | null
attributionstring | null
Full JSON Schema
{
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "found": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "number": {
      "type": [
        "string",
        "null"
      ]
    },
    "number_matches_request": {
      "type": "boolean"
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "type": {
      "type": [
        "string",
        "null"
      ]
    },
    "sector": {
      "type": [
        "string",
        "null"
      ]
    },
    "subsector": {
      "type": [
        "string",
        "null"
      ]
    },
    "effective_date": {
      "type": [
        "string",
        "null"
      ]
    },
    "page_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "pdf_urls": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "status": {
      "type": [
        "string",
        "null"
      ]
    },
    "status_note": {
      "type": [
        "string",
        "null"
      ]
    },
    "amendments": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "page_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "relation": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "related_same_subject": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "page_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "relation": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "article_text_hint": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "hint": {
      "type": [
        "string",
        "null"
      ]
    },
    "message": {
      "type": [
        "string",
        "null"
      ]
    },
    "publisher": {
      "type": [
        "string",
        "null"
      ]
    },
    "attribution": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}

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 indonesia-law pack
{
  "mcpServers": {
    "indonesia-law": {
      "url": "https://gateway.pipeworx.io/indonesia-law/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 29, 2026