Text editor tool version text_editor_20250728 adds max_characters
A new text editor tool version, text_editor_20250728, fixes issues in earlier versions and adds an optional max_characters parameter that controls truncation when viewing large files.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingOptional tool upgrade that can trim context spend on file-heavy agent runs. No migration deadline.
Engineer
What to change, what breaks, what to test Worth knowingSet `type` to `text_editor_20250728` in your `tools` block to pick up the fixes, and pass `max_characters` on `view` to stop large files from filling the context window. Older versions keep working, so move when convenient.
General consumer
Using the Claude apps, not the API No impactNothing to do — this is a developer tool change and does not affect the Claude apps.
Server-defined tools are versioned by date, and moving to text_editor_20250728 is an opt-in change to the type you send in tools.
The new version’s visible addition is max_characters, which caps how much of a large file a view command returns — useful for keeping file reads from flooding the context window.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
text_editor_20250728 | added | no | |
max_characters | added | no |
Terms on this page: Context window