Cite a public document by page
cite_documentA public document sent here is kept in our library, to be indexed and read into cited rows; a link on a file-sharing host or carrying a signature or token is read and never kept (kept says which, and why). Cite numbers or phrases from a public document by page: give its address (a PDF, a web page or plain text, up to 40 MiB) and what to find, as the document prints it. Each find comes back with every page it is printed on (n_hits, the first 5 with their quote), the quoted text around it, and a cite naming the page, the address, the document's sha256 and the day it was read: the citation an answer can carry. Matching is exact as typed: a number as printed (0.10 is not 0.1; a decimal comma reads as a point), spaces optional, letters in any case, µg read as ug. A find not printed on the pages read is in not_found, with any pages not read; a scan with no text layer is refused, not read by OCR. A document may print a provision twice, as it stood and as amended: say which page you quote. held_as names the instruments this server already reads rows from when the document is one of them.
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": {
"url": "<url>",
"find": "<find>"
},
"name": "cite_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The document's public address (http or https): a regulation, a permit, a guideline, a report. | |
| find | Yes | What to cite, as the document prints it: a number with its unit (0.10 mg/L), a table or section name (Table 2, 445A.1237), a phrase. |