Optimize OpenAPI payload size by 46% (#1452)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Jeremiah Lowin 2025-08-11 17:31:54 -04:00 committed by GitHub
commit dd34846266
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 326 additions and 109 deletions

View file

@ -116,8 +116,10 @@ class TestEndToEndCompatibility:
assert legacy_tool.name == new_tool.name
assert legacy_tool.name == "get_user"
# Descriptions should be identical
assert legacy_tool.description == new_tool.description
# Descriptions may differ (new server has simplified descriptions)
# Just check that both have descriptions
assert legacy_tool.description
assert new_tool.description
# Input schemas should be identical
legacy_schema = legacy_tool.inputSchema