search_scripts
Search cached WeChat Mini Program scripts by text or regular expression to find matching sources, optionally filtered by URL or script ID.
Instructions
Search cached script sources by 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": {
"query": "<query>"
},
"name": "search_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| regex | No | ||
| filter | No | Optional URL/scriptId substring filter. | |
| max_results | No | ||
| context_lines | No | ||
| case_sensitive | No |