federal_law_documents
Find a federal Act or regulation of Canada by title or number
Find English federal Acts and regulations of Canada (consolidation) by words in the title, the consolidated number (for example A-1, C-46) or a regulation's instrument number (for example SOR/2001-286). Returns the title, number, consolidation and last-amended dates, in-force status and the Justice Laws Website link. Federal law only, not B.C. law.
Cost: 1 unit of your allowance (see Rate limits).
Parameters
query(string, optional): min length 1, max length 80kind(act,regulation, optional)limit(integer, optional): min 1, max 100, default25offset(integer, optional): min 0, max 10000, default0
REST
curl -X POST https://api.bcmcp.ca/v1/tools/federal_law_documents \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-d '{}'MCP
Call the tool federal_law_documents with these arguments. Over raw JSON-RPC:
curl -X POST https://api.bcmcp.ca/mcp \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"federal_law_documents","arguments":{}}}'What comes back
Every answer is the same envelope, over REST and over MCP: available, data, citations, freshness and notes. See Citations and freshness.