my_get_text
Retrieve the full text of any Malaysian principal Act by its act number, extracted directly from the official PDF. Get the complete legislation text for citation and reference.
Instructions
Fetch the full text of a Malaysian principal Act (extracted from its official PDF).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| act_number | Yes | e.g. ``883``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| content | No | ||
| eli_uri | No | ||
| pdf_url | No | ||
| eli_note | No | Malaysia has not deployed ELI. eli_uri is the durable lom.agc.gov.my act page URL (https://lom.agc.gov.my/act-detail.php?language=BI&act={act_number}), keyed on the portal's own numeric act coordinate - never invented. | |
| byte_size | No | ||
| text_note | No | Extracted from the official PDF with pypdf; minor layout artefacts (page numbers, column breaks) are possible. | |
| act_number | Yes | ||
| source_url | No | ||
| dataset_note | No | lom.agc.gov.my (Laws of Malaysia Online) is the Attorney-General's Chambers' official portal for Malaysian federal legislation. This MVP covers principal Acts only, addressed by their numeric act coordinate (e.g. 883); amendments and subsidiary legislation (P.U. (A)/(B) notices) are not yet covered. Malaysia has no ELI scheme; eli_uri carries the durable lom.agc.gov.my act page URL (see eli_note). | |
| human_readable_citation | No |