Commands › › Snapshot Export
Snapshot Export
Coming soon
Before you run this
Active document must be open. Temp directory must be writable.
After it runs
SQLite snapshot database written to temp path. SnapshotRegistry.Current set to new DB.
When to use this
- User wants to query model data via snapshot tools (snapshot_query, snapshot_review, snapshot_apply).
Don't use this when
Direct live model queries — use MCP context tools instead. Not for model modification.
Inputs
| Name | Kind | Type | Required | Default | Description |
|---|---|---|---|---|---|
scope |
config | string |
no | "model" | Export scope: model, level, levels, view, scope_box, category, selection, sheet |
level_name |
config | string |
no | — | Level name for level-scoped export |
level_names |
config | string |
no | — | Comma-separated level names for multi-level export |
scope_box_name |
config | string |
no | — | Scope box name for scope-box-scoped export |
category |
config | string |
no | — | Category name for category-scoped export |
sheet_number |
config | string |
no | — | Sheet number for sheet-scoped export |
Returns
| Name | Type | Description |
|---|---|---|
status | string | Export status (ready) |
elements | int | Number of elements exported |
parameters | int | Number of parameters exported |
db_path | string | Path to the snapshot SQLite database |
What you'll see in the chat
on start
Exporting model snapshot to local database...
Taking a snapshot of your model for analysis...
Taking a snapshot of your model for analysis...
thinking
Resolving export scope...
Extracting model data to SQLite...
Registering snapshot database...
Extracting model data to SQLite...
Registering snapshot database...
on success
Snapshot ready — {elements} elements, {parameters} parameters exported in {duration_ms}ms
on failure
Snapshot export failed: {error}
REST API
Not yet exposed
This command does not carry a [RestApi] attribute today. Once tagged, this section will auto-populate with:
POST /api/v1/commands/snapshot_export- Request body schema (from
[RestApiParam]) - Response schema (from
[RestApiResponse]) - curl / JS / Python code examples
Keywords & intent patterns
snapshot export · model snapshot · export snapshot · sqlite export
Related
| Pillar |
|---|