search_in_scripts
Search cached JavaScript scripts with a string or regex. Requires prior population of the script cache using get_script_source.
Instructions
Search a string or regex across ALL cached scripts. Populate the cache with get_script_source first.
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": "search_in_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| regex | No | ||
| urlSubstring | No | ||
| maxHits | No |