workspace_state
Manage Roblox Studio workspace data by syncing states, tracking changes, viewing camera settings, accessing scripts, and clearing caches.
Instructions
[PRO] Workspace state: full sync, snapshot, recent changes, viewport info, clear history, metadata, scripts, selection info, clear cache.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | [PRO] State action. sync: fetch current Workspace state (hierarchy, history, stats). snapshot: get full instance tree structure. changes: get recent changes (added/removed/modified). viewport: get camera position, FOV, viewport size, selection bounds. clear_history: clear change history. metadata: get workspace metadata. scripts: get script list. selection_info: get selection info. clear_cache: clear state cache. | |
| includeMetadata | No | Include metadata (instance counts, timestamps). Used by: sync. Default: true. | |
| limit | No | Maximum number of changes to return. Used by: changes. Default: 20. | |
| includeCameraInfo | No | Include camera position and settings. Used by: viewport. Default: true. | |
| includeSelectionBounds | No | Include current selection bounds info. Used by: viewport. Default: true. |