script_read
Reads Luau script source from Roblox Studio's Script Editor buffer using the script's DataModel path, giving AI direct access to current script content for editing and analysis.
Instructions
Official Roblox Studio: Reads Luau script source directly from Studio Script Editor buffer.
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": {
"scriptPath": "<scriptPath>"
},
"name": "script_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptPath | Yes | DataModel instance path of the script |