repo_read_file
Read a file within the project workspace while blocking traversal outside. Use a relative path to safely access file content.
Instructions
Safely reads a file within the project workspace. Traversal outside workspace is blocked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Relative path to the file within the repository | |
| workspaceRoot | No | Optional custom workspace root directory |