roblox_script_get
Retrieve a Roblox script's source by instance path, optionally limited to a line range, to inspect or debug Luau code in Studio.
Instructions
Get script source, optionally a line range.
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": {
"instance_path": "<instance_path>"
},
"name": "roblox_script_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| start | No | ||
| instance_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |