openFile
Open a file in the editor and navigate directly to a specific line or text pattern to highlight a range of content.
Instructions
Open a file in the editor and optionally select a range of text
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Workspace or absolute path to the file to open | |
| startLine | No | Line to scroll to (1-based). Takes precedence over startText. | |
| startText | No | Text pattern to find and scroll to. Ignored if startLine is set. |