script_grep
Locate text patterns or keywords across all Scripts, LocalScripts, and ModuleScripts in a Roblox place; filter by root path, case sensitivity, or max matches.
Instructions
Searches all Scripts, LocalScripts, and ModuleScripts across the place for a text pattern or keyword
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": "script_grep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Optional root path to search within (defaults to all game services) | |
| pattern | Yes | The string or keyword to search for | |
| max_matches | No | Maximum number of matches to return | |
| case_sensitive | No | Whether to perform a case-sensitive match |