ca_get_document
Fetch metadata for a Canadian federal act or regulation using its official code, with English or French language support.
Instructions
Fetch metadata for a Canadian federal act or regulation.
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": {
"code": "<code>"
},
"name": "ca_get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | e.g. ``"C-46"`` (Criminal Code) or ``"SOR-2018-151"`` (a regulation). | |
| lang | No | ``"eng"`` or ``"fra"`` (default ``"eng"``). | eng |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||