Read Roblox Studio state
read_studio_stateRetrieve current Roblox Studio state—selection, explorer tree, instance details, or services summary—using safe server-run snippets. Get workspace info without executing arbitrary code.
Instructions
Inspect Studio state in a clean form: 'selection' (current selection), 'explorer_tree' (workspace tree to a depth), 'instance' (one instance by dotted path, e.g. 'Workspace.Model.Part'), or 'services_summary'. Runs a server-owned snippet — no arbitrary code.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "read_studio_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | For query=instance: dotted path like 'Workspace.Model.Part'. | |
| depth | No | For query=explorer_tree: max depth (default 2). | |
| query | Yes |