find_in_script
Find a string or regex pattern in a cached script. Use get_script_source to cache the script first.
Instructions
Find string or regex pattern in a single cached script. Use get_script_source first to populate the cache.
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": {
"url": "<url>",
"pattern": "<pattern>"
},
"name": "find_in_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| pattern | Yes | ||
| regex | No |