get_script_source
Retrieve the source code of a script object (LocalScript, Script, or ModuleScript) by specifying the instance path using the MCP server in Roblox Studio. Enables direct access to script data for development and debugging purposes.
Instructions
Get the source code of a script object (LocalScript, Script, or ModuleScript)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
instancePath | Yes | Path to the script instance (e.g., "game.ServerScriptService.MainScript") |