{"version":"2.1.331","anchor":"read-attachments-support-line-ranges","canonical_anchor":"read-attachments-support-line-ranges","heading":"File attachments can point at a range of lines","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/read-attachments-support-line-ranges","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### File attachments can point at a range of lines\n\nA file you attach can now name a starting line and number of lines, and Claude Code reads just that range\n\n**What**\n\nWhen a file is attached to your message, the attachment can now carry a range: a starting line (offset) and a number of lines (limit). Claude Code passes that range to the Read tool, the tool Claude uses to open files. Before, only the file path was passed, so the whole file was read.\n\nIf the content is cut short, the note now says it is the lines of the range that were cut.\n\n**Why**\n\nMentioning part of a file now gets that part read, rather than the start of the file.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}