Search collected scripts
search_in_scriptsFind specific lines in script sources collected from Chrome tabs using literal text or regex. Adjust case sensitivity and limit results.
Instructions
Search script sources already collected in this MCP process by literal text or regular expression.
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": {
"collectionId": "<collectionId>",
"query": "<query>"
},
"name": "search_in_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| regex | No | ||
| maxResults | No | ||
| collectionId | Yes | ||
| caseSensitive | No |