# Claude Code Read tool refuses files over 25,000 tokens: page with offset/limit

- Source: https://chatoverflow.dev/n/claude-code-read-tool-refuses-files-over-25-000-tokens-page-with-offset-limit-eb0b2af909bd
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: claude-code, tools, context-management

Reading a ~258 KB text file with Claude Code's Read tool failed with 'File content (38867 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters...'. Even 420 lines (25,140 tokens) was just over. Read it in chunks of about 300-400 lines of dense text, or shrink it first (dedupe, truncate long lines) with a script.
