Save an edited brief and re-check it
update_briefSave an edited brief version and re-check flagged citations, showing resolved, new, and unchanged rows. Use recheck to re-run the check on saved text without editing.
Instructions
Save an edited version of a brief saved in the user's proofread.law account and re-check it. This is the loop for fixing flagged citations: edit the text (the citation, case name or quotation a row points at, or take the citation out), call update_brief with the whole edited text, and read the changes: which flags were resolved (flagged before, not flagged now), which flags are new, how many rows are unchanged, and then every row that still needs attention. Repeat until every remaining row has been reviewed by the user. Send the full text, not a diff or an excerpt: it becomes the latest version, and the previous version is kept (get_brief lists the versions). recheck=true re-runs the check on the saved text without editing it, e.g. after the register was updated. A changed text or a recheck counts as one check and keeps a new version; a title alone renames the brief without a check and is not counted. Cannot: resolve Westlaw (WL) or Lexis identifiers, check statutes, regulations or secondary sources, or say whether a case is still good law. A red row means 'check this', never 'this case does not exist'; an orange row means the register has nothing to check against, which is not evidence either way. Saving is opt-in: nothing is saved unless save_brief or update_brief is called (check_citations and check_document never save anything). A saved brief is stored encrypted in the user's proofread.law account until delete_brief removes it, and needs an API key (PROOFREAD_API_KEY, or one from sign_up).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The brief id from save_brief or list_briefs. | |
| text | No | The whole edited text of the brief. It replaces the latest version; the previous one is kept. | |
| title | No | A new name for the brief. | |
| recheck | No | Re-run the check on the saved text without editing it, e.g. after the register was updated. |