get_edgeworker_file
Read a file from an EdgeWorker bundle and return its source lines with line numbers, with options to specify a line range.
Instructions
Read a file from an EdgeWorker code bundle. Returns numbered source lines.
Example questions:
"Show me main.js from EdgeWorker 42 v1.0"
"Read lines 50-100 of the request handler"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edgeworker_id | Yes | EdgeWorker ID (numeric) | |
| version | Yes | Version identifier (e.g., '1.0') | |
| path | Yes | File path within the bundle (e.g., 'main.js') | |
| start_line | No | First line to read (1-based, inclusive) | |
| end_line | No | Last line to read (1-based, inclusive). Omit to read to end. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |