Docs menu

Tools

get_law

One jurisdiction's law across all eight topics, with its sources.

reads Law for one jurisdiction

What it does

One jurisdiction's law, across all eight topics LexLint covers: AI law, scraping and access legality, personal-data and biometric privacy, product-security and cyber-resilience law, communications law (marketing messages, calls and texts, call recording, cookie consent), content-moderation law (liability for what users post, notice-and-takedown, moderation transparency), age-gating and age verification, and reuse law (quotation and snippets, press-publisher rights, linking, news bargaining codes). Returns the instruments (citation, status, behavior categories, as_of_date) together with the jurisdiction's crawl posture: an overall crawl-posture reading, a per-scenario access matrix, robots.txt legal weight, and TDM opt-out status. Argument: jurisdiction (slug). Resolution walks to the most specific jurisdiction with data and reports the walk.

It is one call for all eight questions, because it is one payload. It replaced get_ai_law and get_scraping_law, which returned that same payload under two names and left privacy with no name at all. Those two names are gone, not deprecated: a configuration still naming either gets an unknown-tool error, and the fix is to name get_law.

Parameters

NameTypeRequiredWhat it takes
jurisdictionstringyesJurisdiction slug, lowercase, "/"-separated (e.g. "us", "us/ca", "eu")

Example request

{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_law", "arguments": { "jurisdiction": "eu" } } }