save_checkpoint
Capture simulation state for later restoration, enabling you to resume from saved checkpoints without restarting from time zero.
Instructions
Save a simulation checkpoint for later restoration.
Checkpoints capture the complete simulator state. Use restore_checkpoint to return to this point without re-simulating from time 0.
Args: name: Checkpoint name (alphanumeric, e.g. "chk_10ms"). Auto-generated if empty.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/xcelium_mcp/server.py:454-467 (handler)The implementation of the `save_checkpoint` MCP tool which triggers a simulation checkpoint via the bridge.
@mcp.tool() async def save_checkpoint(name: str = "") -> str: """Save a simulation checkpoint for later restoration. Checkpoints capture the complete simulator state. Use restore_checkpoint to return to this point without re-simulating from time 0. Args: name: Checkpoint name (alphanumeric, e.g. "chk_10ms"). Auto-generated if empty. """ bridge = _get_bridge() cmd = f"__SAVE__ {name}" if name else "__SAVE__" result = await bridge.execute(cmd) return result