read_script
Retrieve the source code of a Roblox script by its instance path. Use it to inspect script logic in Studio via paths like ServerScriptService.MyScript or Workspace.Part.Script.
Instructions
Read Source of a script by path (e.g. 'ServerScriptService.MyScript', 'Workspace.Part.Script').
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": "read_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |