Create Highlight
create_highlightHighlights a passage of a saved item: stores the quoted text and the character offsets it covers inside the item's content_text. Use it to mark the parts of an article worth re-reading. Use list_highlights to read the highlights of an item back and delete_highlight to remove one.
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": {
"item_id": "<item_id>",
"text": "<text>"
},
"name": "create_highlight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional note about the highlight. | |
| text | Yes | The quoted passage. | |
| color | No | Optional color, e.g. #ffd60a. | |
| item_id | Yes | The library item ID the highlight belongs to. | |
| end_offset | No | Offset just past the last character of the passage. Defaults to start_offset plus the length of text. | |
| start_offset | No | First character offset of the passage inside content_text. Defaults to 0. |