Roblox Grep Scripts
roblox_grep_scriptsSearch all scripts in a Roblox game for Lua patterns or plain text matches, returning paths and line content.
Instructions
Search all scripts in the game for a Lua pattern or plain text match. Returns matching script paths and line content.
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": {
"pattern": "<pattern>"
},
"name": "roblox_grep_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Search pattern (Lua pattern syntax supported). | |
| rootPath | No | Root instance path to search within. | game |
| caseSensitive | No | Whether the search is case-sensitive. | |
| waitForResponseMs | No | How long to wait for a runtime response. |