List scripts
list_scriptsLists Script, LocalScript, and ModuleScript instances with path, class, and disabled status, optionally including hidden scripts and filtering by name, root, class, or client.
Instructions
List the Scripts, LocalScripts and ModuleScripts of the game with their path, class and whether they are disabled. With include_hidden it also finds scripts that are not in the tree (nil parented instances, loaded modules, running scripts) when the executor supports it. Requires the connected state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Case-insensitive part of the script name. | |
| root | No | Dotted path to search under (default game). | |
| limit | No | Maximum number of scripts (default 100). | |
| client | No | Client id from list_clients, for example c2. Defaults to the client that connected last. | |
| class_name | No | Only list this kind of script. | |
| include_hidden | No | Also list scripts outside the tree (default false). |