annotate
Add floating text labels during browser recordings to highlight features or explain on-screen actions, optionally positioned near a CSS selector.
Instructions
[Cinematic Engine - PHASE 2] Add a floating text annotation to the video.
Annotations are visual labels that appear on screen during recording to highlight features or explain what's happening. Use with spotlight() for maximum impact.
Args: text: The annotation text to display target: Optional CSS selector to position near (if omitted, uses center) position: Where to place relative to target: "above", "below", "left", "right" style: Visual style: "light" (white bg) or "dark" (dark bg) duration_ms: Auto-remove after ms (0 = permanent until clear_annotations)
Returns: {"success": True, "data": {"id": "...", "position": {...}}}
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": {
"text": "<text>"
},
"name": "annotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| style | No | light | |
| target | No | ||
| position | No | above | |
| duration_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| hints | No | ||
| message | No | ||
| success | No | ||
| suggestions | No |