search_edgeworker_code
Search an EdgeWorker's code bundle with a regex pattern to find matching file paths, line numbers, and content.
Instructions
Search across all files in an EdgeWorker code bundle using a regex pattern. Returns matching file paths, line numbers, and content.
Example questions:
"Find all uses of 'setResponseHeader' in this EdgeWorker"
"Search for error handling patterns"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edgeworker_id | Yes | EdgeWorker ID (numeric) | |
| version | Yes | Version identifier (e.g., '1.0') | |
| pattern | Yes | Regex pattern to search for (case-insensitive) | |
| max_results | No | Maximum number of matches to return |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |