Skip to main content
Glama

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
NameRequiredDescriptionDefault
watch_idNoall

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • 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
  • Registration of the watch_clear tool using the @mcp.tool decorator.
    @mcp.tool()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hslee-cmyk/xcelium-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server