search
Find text patterns across a WordPress site's theme and plugin files using regex, with glob filters to narrow results by filename and optional case-insensitive matching.
Instructions
Regex search across files (like grep). glob filters file names, e.g. '*.php'.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | ||
| path | No | . | |
| site | No | ||
| pattern | Yes | ||
| ignore_case | No | ||
| max_results | No |