Skip to content

fix: strip schema field from tool definitions to prevent 500 errors#1144

Open
Ashutosh0x wants to merge 3 commits intoanthropics:mainfrom
Ashutosh0x:fix-schema-stripping
Open

fix: strip schema field from tool definitions to prevent 500 errors#1144
Ashutosh0x wants to merge 3 commits intoanthropics:mainfrom
Ashutosh0x:fix-schema-stripping

Conversation

@Ashutosh0x
Copy link

This PR addresses Issue #1001 where including the schema field in tool input_schema caused 500 Internal Server Errors from the API. Changes: Implemented _strip_tools helper and applied it to Messages methods in standard and beta resources.

@Ashutosh0x Ashutosh0x requested a review from a team as a code owner January 22, 2026 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant