list_signals
Retrieve signal names within a specified simulation scope, with optional pattern-based filtering for targeted debugging.
Instructions
List signals in a scope, optionally filtered by pattern.
Args: scope: Hierarchical scope path (e.g. "/tb/dut"). pattern: Glob pattern to filter signals (default "*").
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | ||
| pattern | No | * |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/xcelium_mcp/server.py:194-206 (handler)The implementation of the `list_signals` tool handler.
async def list_signals(scope: str, pattern: str = "*") -> str: """List signals in a scope, optionally filtered by pattern. Args: scope: Hierarchical scope path (e.g. "/tb/dut"). pattern: Glob pattern to filter signals (default "*"). """ bridge = _get_bridge() # Change to the target scope and list await bridge.execute(f"scope {scope}") result = await bridge.execute(f"scope -describe {pattern}") return result - src/xcelium_mcp/server.py:193-193 (registration)The MCP tool registration for `list_signals`.
@mcp.tool()