take_waveform_screenshot
Capture SimVision waveform window screenshots as PNG images for analysis during RTL and gate-level debugging with Xcelium simulations.
Instructions
Capture a screenshot of the SimVision waveform window.
Returns the screenshot as a PNG image that Claude can analyze.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/xcelium_mcp/server.py:295-304 (handler)The handler implementation for the 'take_waveform_screenshot' tool, which captures a screenshot using the bridge and converts it to PNG.
@mcp.tool() async def take_waveform_screenshot() -> Image: """Capture a screenshot of the SimVision waveform window. Returns the screenshot as a PNG image that Claude can analyze. """ bridge = _get_bridge() ps_path = await bridge.screenshot() png_bytes = await ps_to_png(ps_path) return Image(data=png_bytes, format="png")