Keystroke Overlay
keystroke_overlayBurns keycast-style badges for shortcuts, clicks, and typing onto recordings from an input event log, so viewers can follow on-screen actions without exposing typed text.
Instructions
Burn keycast-style badges for shortcuts, clicks, and typing from the recording's input event log (start_recording events: true). Never shows typed text: the log has none.
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": {
"input": "<input>"
},
"name": "keystroke_overlay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | shortcuts (default): the chord (Ctrl + S); masked: modifiers only (Ctrl + …). | |
| size | No | Font px (default 4.5% of the frame height). | |
| color | No | Text color (default white). | |
| input | Yes | Path to the recording. | |
| clicks | No | Show clicks (default true). | |
| dryRun | No | Return the planned badges; write nothing. | |
| events | No | Event log (default: the input's .events.jsonl). | |
| output | No | Output path; default SCREENCAST_HOME/edits. | |
| typing | No | Show typing as "Typing…" (default true). | |
| fontFile | No | Font: .ttf/.otf/.ttc path or C:\Windows\Fonts name. Default: bundled Inter, plus a system font for CJK, emoji, Arabic. | |
| position | No | Default bottom (centred). | |
| lingerSec | No | Seconds a badge stays up (default 1.2). | |
| overwrite | No | Replace an existing output. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| badges | Yes |