SCREENCAST-MCP / TOOLS / PRODUCE
Performance Overlay
perf_overlay
Draw a recording's CPU or memory track as a small chart with a moving playhead (spikes in red).
producewritesdestructivesince next release
00:00PARAMETERS
| Name | Type | Description |
|---|---|---|
input required | string | A recording made with perf: true. |
perf | string | Its .perf.jsonl (default: next to input). |
metric | "cpu" | "sysCpu" | "rssMB" | "sysMem" | Default cpu (the app's) if sampled, else sysCpu. |
corner | "top_left" | "top_right" | "bottom_left" | "bottom_right" | Default top_right. |
width | integer | Chart width px (default video/4). ≥ 80, ≤ 1920 |
output | string | Output path; default SCREENCAST_HOME/edits. |
overwrite | boolean | Replace an existing output. |
00:05A MINIMAL CALL
perf_overlay { "input": "recording.mp4" }
The required arguments only, with placeholder values. Everything else takes its default.
00:10WHAT COMES BACK
Structured content (structuredContent), alongside a text summary:
| Field | Type | Description |
|---|---|---|
outputPath always | string | Path of the file written. |