apply_highlight
Adds a reviewed exact-match highlight to a PDF page after checking its source fingerprint, writing a new annotated copy without altering the original.
Instructions
Apply a proposed exact-match highlight with a checked source fingerprint.
New output must not exist. For subsequent updates, the input and output may be the same *-annotated.pdf file when overwrite_annotated_copy is true. Do NOT call without showing the proposal to the user for review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| page | Yes | ||
| color | No | yellow | |
| opacity | No | ||
| occurrence | No | ||
| exact_quote | Yes | ||
| output_file | Yes | ||
| expected_fingerprint | Yes | ||
| overwrite_annotated_copy | No |