annotate
Draw outlines around page elements by ref or highlight quoted text passages with optional labels, showing users exactly where something is instead of describing its position.
Instructions
Point things out on the page itself: draws an outline around elements (by ref) or highlights a passage (by quoting its text), each with an optional short label. Use this to show the user where something is instead of describing its position. Replaces earlier marks unless keep is true.
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": {
"tabId": "<tabId>",
"marks": "<marks>"
},
"name": "annotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dim | No | Darken the rest of the page around the first mark | |
| keep | No | Keep existing marks instead of replacing them | |
| marks | Yes | ||
| tabId | Yes | Tab ID, from tabs_list or tab_create |