sim_status
Check current simulation time, scope, and state in Xcelium MCP Server for real-time debugging and monitoring.
Instructions
Get current simulation status (time, scope, state).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/xcelium_mcp/server.py:115-128 (handler)The `sim_status` tool handler function, which queries the simulator for its current position and scope using the TclBridge.
@mcp.tool() async def sim_status() -> str: """Get current simulation status (time, scope, state).""" bridge = _get_bridge() results: list[str] = [] for label, cmd in [("Position", "where"), ("Scope", "scope")]: try: val = await bridge.execute(cmd) results.append(f"{label}: {val}") except TclError as e: results.append(f"{label}: (error: {e})") return "\n".join(results)