read_workspace
Returns a depth-limited, paginated tree of a Roblox Studio workspace or service so you can inspect instances and fetch next-page or deeper results via cursors.
Instructions
Return a tree of the workspace (or any service) up to a max depth. The root's direct children are paginated by pageSize/cursor (returns hasMore + cursor for the next page); deeper descendants are capped at pageSize per node.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Instance path, e.g. "Workspace" or "Workspace.Folder". Default: Workspace | |
| depth | No | Max traversal depth (default 3, max 6) | |
| client | No | Target a specific Studio client by name (as shown on the panel, e.g. "studio"). Omit to auto-pick: the only active client, or the most recently active one when several are connected. | |
| cursor | No | Cursor from a previous response's data.cursor - fetches the next page of the root's children | |
| pageSize | No | Max children per node, and page size for the root (default 100, max 500) |