script_read
Retrieve the complete source code of a script in Roblox Studio by specifying its dot-path.
Instructions
Read the full contents of a script in Roblox Studio by path
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": {
"target_file": "<target_file>"
},
"name": "script_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_file | Yes | Full dot-path to the script (e.g. game.ServerStorage.MyScript) |