ca_get_text
Fetch the complete consolidated XML text of any Canadian federal act or regulation by statute code, with English or French language selection.
Instructions
Fetch the full consolidated XML text of 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_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | e.g. ``"C-46"``. | |
| lang | No | ``"eng"`` or ``"fra"`` (default ``"eng"``). | eng |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||