Verify a quotation
quote_checkVerify whether a quotation appears in a Project Gutenberg book, report exact match level and locations, or find the closest real passage before quoting.
Instructions
Check whether a quotation really appears in a Project Gutenberg book, and how exactly. Reports the strictest match (exact, typography-only differences, case, or punctuation), every location with the book's actual lines, and, when the quote is not there, the closest real passage. Use it before quoting a public-domain book.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Project Gutenberg book id, e.g. 2701 (Moby Dick) or 1342 (Pride and Prejudice). Find ids with search_books. | |
| quote | Yes | The quotation to verify, e.g. "Call me Ishmael." Surrounding quote marks are ignored. Use "..." for omitted words. | |
| case_sensitive | No | Require matching capitalization. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| found | Yes | ||
| match | Yes | Strictest level that matched: exact > typography (quote/dash style) > case > words (punctuation differs) > none. | |
| quote | Yes | ||
| closest | No | When not found: the passage sharing the most words with the quote (at least half), to show what the text really says. | |
| verdict | Yes | One sentence explaining the result. | |
| locations | Yes | ||
| attribution | Yes | Credit line to keep with any quoted text. | |
| occurrences | Yes |