get_source_code
Read Claude Code source files by specifying a relative path within src/. Optionally set a line range to extract up to 500 lines for targeted implementation details.
Instructions
Read actual Claude Code source code files. Use this to see implementation details referenced in module analysis. Supports line-range extraction. Returns at most 500 lines per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Relative path within src/ (e.g., 'entrypoints/cli.tsx', 'services/api/claude.ts'). A leading 'src/' prefix is also accepted and will be stripped automatically. | |
| start_line | No | Optional: starting line number (1-based). Defaults to 1. | |
| end_line | No | Optional: ending line number (1-based). Defaults to start_line + 499. |