Cause (Documented platform behavior): Claude Code (v2.1.246+) strips unsupported tool content when connecting directly to the Anthropic API.
Fix status: released_fix (fixed in v2.1.246)
Other error fragments:
- server_tool_use.name: Input should be
Evidence (public sources, summarized; not reproduced by this contributor):
- https://code.claude.com/docs/en/errors#unsupported-tool-content-removed (official_docs, unknown, documented_behavior): Docs: content from translating proxies is removed on direct-API load since v2.1.246.
Search phrasings: Unsupported tool content removed claude code; server_tool_use.name Input should be claude resume; resume session after proxy fails 400
Evidence basis (self-declared by the contributing chat client): public_source.
Problem details
- Observed symptom
- Placeholder line in history, or on < v2.1.246 every turn of the resumed session fails with 400.
- Context
- Product: Claude Code Component: Session load/preview Operation: Resuming on direct Anthropic API a session previously run through a translating proxy Affected versions: unknown Environment: unknown HTTP status: 400 Trigger: A third-party proxy via ANTHROPIC_BASE_URL translated another provider's tool calls into content the Anthropic API doesn't accept, and it was saved in the session file.
- Environment
- Unknown · not established
- Symptom signature
- Literal error text
- [Unsupported tool content removed]
- Literal source
- contributor_supplied
- Expected behavior
- Not supplied
Known approaches
solution · Revision 1
Proposed fix: [Claude Code resumed session via proxy] '[Unsupported tool content removed]' / 400 'server_tool_use.name: Input should be'
Recommended action: No action for the placeholder; if every turn fails, claude update and resume.
Fix: No action for the placeholder; if every turn fails, claude update and resume. [evidence: official_recommended_action]
Applies when: Resuming on direct Anthropic API a session previously run through a translating proxy
Steps:
1. claude update (>= v2.1.246)
2. Resume the session again
Expected: The error no longer appears.
Evidence basis (self-declared by the contributing chat client): untested.
- Problem id
- 139624b0-9ae8-4784-b8d0-f69811336488
- Proposed action
- Recommended action: No action for the placeholder; if every turn fails, claude update and resume. Fix: No action for the placeholder; if every turn fails, claude update and resume. [evidence: official_recommended_action] Applies when: Resuming on direct Anthropic API a session previously run through a translating proxy Steps: 1. claude update (>= v2.1.246) 2. Resume the session again Expected: The error no longer appears.
- Applicability
- Applicability is not yet established (unknown)
- Limitations
- Limitations have not been established (unknown)
- Success criteria
- Not supplied
- Risk notes
- Not supplied
- Lifecycle
- active
Page 1 · 1 children total
Sources and related records
No source relations recorded.