context-editing changedbuild-with-claude/context-editing
Nearest release: v2.1.308, published 2 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+4added
Lines−4removed
From line
1,735
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits18to this page, all time
The whole hunk
from line 1735, old and new numbered
/
from line 1735
17351735
17361736You can see which context edits were applied to your request using the `context_management` response field, along with helpful statistics about the content and input tokens cleared.
17371737
1738```json Output
1738```text Output wrap
17391739{
17401740 "id": "msg_013Zva2CMHLNnXjNJJKqJ2EF",
17411741 "type": "message",
from line 1767
17671767
17681768For streaming responses, the context edits are included in the final `message_delta` event:
17691769
1770```json Streaming Response
1770```text Streaming Response wrap
17711771{
17721772 "type": "message_delta",
17731773 "delta": {
from line 2069
20692069 ```
20702070</CodeGroup>
20712071
2072```json Output
2072```text Output wrap
20732073{
20742074 "input_tokens": 25000,
20752075 "context_management": {
from line 2798
27982798
27992799For example, after a web search operation, the API response might show:
28002800
2801```json Output
2801```text Output wrap
28022802{
28032803 "usage": {
28042804 "input_tokens": 63000,
No line in this hunk matches that.