legalize_get_meta
Retrieve frontmatter metadata from national legislation using country code and law ID for citation checks.
Instructions
Fetch only a law's frontmatter metadata (no body) - cheap for citation checks.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"country": "<country>",
"law_id": "<law_id>"
},
"name": "legalize_get_meta"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| law_id | Yes | the filename stem. | |
| country | Yes | ISO-3166 alpha-2 code. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rank | No | Country-specific legal text type. | |
| extra | No | Country-specific frontmatter fields. | |
| title | No | ||
| law_id | Yes | Official identifier (the .md filename stem). | |
| status | No | in_force | repealed | ... | |
| country | Yes | ||
| github_url | Yes | Raw provenance URL on github.com/legalize-dev. | |
| source_url | No | Official source URL (frontmatter `source`). | |
| last_updated | No | ||
| publication_date | No | ||
| human_readable_citation | No |