Save a readable copy of a case or statute
export_documentOptional. If your client can save files locally and you want a readable copy of a case or statute, this returns the complete document to save; otherwise use get_case / get_statute as before. The document is the syfert.com page as the website renders it (caption, headings, footnotes, star-page markers such as [*551], links to the cited cases): Markdown with YAML front matter (default) or one self-contained HTML file. Returns filename, format, bytes, document and note; the MCP cannot write to disk, so saving document under filename is up to you. A case: cluster_id, or citation (+ case_name). A statute or rule: jurisdiction + citation, as get_statute takes them. A document longer than one response comes in parts (truncated, next_offset): call again with offset and append the parts in order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | markdown (default) or html | |
| offset | No | Byte offset of the next part (next_offset from the previous call) for a long document | |
| include | No | Sections. Cases: text (the opinion), treatment (flag and strongest signal), propositions (what courts cite it for), cited_by_top (leading citing cases with their parentheticals), scope (how far a red or yellow flag reaches). Statutes: text, cited_by_top (Notes of Decisions), scope (source and scrape date). Default ["text","treatment","scope"]. | |
| citation | No | A case's reporter citation ("875 F.2d 994"; used if cluster_id is absent), or, with jurisdiction, the section or rule ("90.803", "Nev. J. Ct. R. Civ. P. 70") | |
| case_name | No | Case name; lets a citation newer than the reporter index resolve by name + date | |
| cluster_id | No | Cluster id of the case | |
| jurisdiction | No | For a statute or rule: the corpus, as get_statute takes it (two-letter state code, usc, cfr, fedrule, sg, fac …) |