Roblox Get Script Source
roblox_get_script_sourceRetrieve the source code of any Script, LocalScript, or ModuleScript in Roblox Studio by providing its full instance path.
Instructions
Read the source code of a Script, LocalScript, or ModuleScript by its full instance path in Roblox Studio.
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": {
"path": "<path>"
},
"name": "roblox_get_script_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full instance path of the script (e.g. ServerScriptService.MyScript). | |
| waitForResponseMs | No | How long to wait for a runtime response. |