Under the hood
The message for a "json-text" response body now says the JSON failed to parse, not that its content-type was wrong
What
When Claude Code labels a response body as "json-text", the explanation shown for that label now says the body looks like JSON but does not parse, rather than describing a mismatch between the content and its declared content-type.
Why
This makes the message more accurate: the issue being flagged is that the text couldn't actually be parsed as JSON, not that its content-type header was wrong.