roblox_script
Read specific line ranges, grep literals, perform exact replacements, or write files with a concurrency guard to edit Roblox scripts without reading whole codebases.
Instructions
Read a line range, literal grep, unique exact replacement, or write with expected_source concurrency guard. Never read whole codebase to locate a name.
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": {
"studio_id": "<studio_id>",
"action": "<action>"
},
"name": "roblox_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | No | ||
| path | No | ||
| root | No | ||
| limit | No | ||
| action | Yes | ||
| offset | No | ||
| source | No | ||
| replace | No | ||
| studio_id | Yes | Exact official Studio ID or plugin: ID from roblox_studio list. | |
| line_count | No | ||
| start_line | No | ||
| expected_source | No |