pk_get_law
Retrieve the full text of a Pakistani federal statute by providing its corpus file name from search results.
Instructions
Fetch the full text of one federal statute. Large statutes are truncated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| law_id | Yes | the corpus file name from ``pk_search_laws``, e.g. ``"administrator00532129aba2e10fe634ab8fbd94c50b.pdf"``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| title | No | ||
| law_id | Yes | ||
| content | No | ||
| eli_uri | No | ||
| eli_note | No | Pakistan has not deployed ELI. For statutes, eli_uri is the canonical Ministry of Law and Justice PDF URL (https://pakistancode.gov.pk/pdffiles/{law_id}); for judgments it is the HuggingFace dataset row URI. Stable and resolvable, never invented. | |
| byte_size | No | ||
| truncated | No | ||
| source_url | No | ||
| dataset_note | No | Corpus-based connector, not a live government API: Pakistan's official portal (pakistancode.gov.pk) exposes no machine interface, so statutes are served from the AyeshaJadoon/Pakistan_Laws_Dataset mirror on HuggingFace (967 federal laws, full text, ODC-BY 1.0), a static snapshot last updated 2025-01-30. Amendments after that date are NOT reflected - verify currency against pakistancode.gov.pk before relying on a provision. | |
| human_readable_citation | No |