Oklahoma Code

v0.2.1
io.github.pipeworx-io/oklahoma-code Checked 16 hours ago Published 28 days ago

Oklahoma Statutes — state statutes by citation, full-text topic search, amendment history, and…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ok_statute

Get the FULL TEXT of a section of the Oklahoma Statutes by citation, e.g. "21-701.7" (Murder in the First Degree) or "41-111" (termination of tenancy). Accepts "21-701.7", "21 O.S. 701.7", or "21 O.S. § 701.7". Returns the current statutory text, its chapter breadcrumb, the "Cite as" line, its full amendment history (every amending Act), and a historical_versions list of every prior (superseded) version with a citeid you can pass back as version_citeid to retrieve that EXACT prior text. Keyless. Use for "what does 21 O.S. 701.7 say", "Oklahoma murder statute", or to check an Oklahoma statute…

ParameterTypeDescription
citation *stringSection citation as title-section, e.g. "21-701.7" or "41-111". The title is the part before the dash/space and may carry a letter suffix (e.g. "10A-1" or "85A-45").
version_citeidnumberOptional. A "citeid" value from a previous result's historical_versions array — fetches that superseded version's exact text instead of the current one. When set, "citation" is optional (used only t…

ok_titles

List all 94 titles of the Oklahoma Statutes with their official names, e.g. Title 21 is Crimes and Punishments, Title 41 is Landlord and Tenant. Routing help for when you know the subject but not the title number — call this or ok_search before guessing a citation. Keyless.