roblox_script_lines
Insert Luau code after a specified line or delete a line range in a Roblox script, enabling precise edits without rewriting the whole script.
Instructions
Insert (after start_line) or delete (start_line..end_line) script lines.
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_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | insert | |
| content | No | ||
| end_line | No | ||
| start_line | No | ||
| instance_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |