watch_clear
Clear specific watchpoints or all watchpoints in Cadence Xcelium simulations to manage debugging sessions and control simulation state.
Instructions
Clear watchpoints. Use "all" to clear all, or a specific stop ID.
Args: watch_id: Watchpoint ID to clear, or "all" for all watchpoints.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| watch_id | No | all |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/xcelium_mcp/server.py:426-434 (handler)The handler function that executes the watch_clear tool.
async def watch_clear(watch_id: str = "all") -> str: """Clear watchpoints. Use "all" to clear all, or a specific stop ID. Args: watch_id: Watchpoint ID to clear, or "all" for all watchpoints. """ bridge = _get_bridge() result = await bridge.execute(f"__WATCH_CLEAR__ {watch_id}") return result - src/xcelium_mcp/server.py:425-425 (registration)Registration of the watch_clear tool using the @mcp.tool decorator.
@mcp.tool()