| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:b8c57513-4d8f-2aae-c4d7-371d2540c821 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DC20:269AD9:7FD5D5:AD219B:6B00E04B |
| html-safe-nonce | b69ac09a5fc332888ae137f7cfba1164eff488773d3efb700d357e3d2f1ae398 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzIwOjI2OUFEOTo3RkQ1RDU6QUQyMTlCOjZCMDBFMDRCIiwidmlzaXRvcl9pZCI6Ijc3NDc4MTEyMDM0OTMxOTE3NTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 97f3be3e73186e056bfae8ab12fc9d87b7802372b11f0092a970ef9e8836d0c1 |
| hovercard-subject-tag | pull_request:4171732165 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/3225/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/0ebe7fc45bb33041af835e4c7b770ca0cefd0fe36672df4a44dab78bc4f00a72/modelcontextprotocol/python-sdk/pull/3225 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0ebe7fc45bb33041af835e4c7b770ca0cefd0fe36672df4a44dab78bc4f00a72/modelcontextprotocol/python-sdk/pull/3225 |
| og:image:alt | Fixes #3224
Problem
A tool returning a TypedDict with NotRequired keys (or total=False) publishes an
outputSchema declaring those properties non-nullable, while convert_result materialises
every ke... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sainikhiljuluri |
| hostname | github.com |
| expected-hostname | github.com |
| None | 043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf |
| turbo-cache-control | no-cache |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5425dc24e8bd8d6fca9641a12afc984825a43875 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/3225#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3225 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3225 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/3225 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/3225 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/3225 |
| modelcontextprotocol | https://github.com/modelcontextprotocol |
| python-sdk | https://github.com/modelcontextprotocol/python-sdk |
| Code | https://github.com/modelcontextprotocol/python-sdk |
| Issues308 (308) | https://github.com/modelcontextprotocol/python-sdk/issues |
| Pull requests112 (112) | https://github.com/modelcontextprotocol/python-sdk/pulls |
| Actions | https://github.com/modelcontextprotocol/python-sdk/actions |
| Projects | https://github.com/modelcontextprotocol/python-sdk/projects |
| Security and quality12 (12) | https://github.com/modelcontextprotocol/python-sdk/security |
| Insights | https://github.com/modelcontextprotocol/python-sdk/insights |
| https://github.com/modelcontextprotocol/python-sdk |
| sainikhiljuluri | https://github.com/sainikhiljuluri |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| sainikhiljuluri:fix/typeddict-notrequired-structured-output | https://github.com/sainikhiljuluri/python-sdk/tree/fix/typeddict-notrequired-structured-output |
| Conversation | https://github.com/modelcontextprotocol/python-sdk/pull/3225 |
| Commits5 (5) | https://github.com/modelcontextprotocol/python-sdk/pull/3225/commits |
| Checks | https://github.com/modelcontextprotocol/python-sdk/pull/3225/checks |
| Files changed | https://github.com/modelcontextprotocol/python-sdk/pull/3225/files |
| fix(mcpserver): omit unreturned TypedDict keys from structuredContent | https://github.com/modelcontextprotocol/python-sdk/pull/3225#top |
| sainikhiljuluri | https://github.com/sainikhiljuluri |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| sainikhiljuluri:fix/typeddict-notrequired-structured-output | https://github.com/sainikhiljuluri/python-sdk/tree/fix/typeddict-notrequired-structured-output |
|
| https://github.com/sainikhiljuluri |
| sainikhiljuluri | https://github.com/sainikhiljuluri |
| Jul 30, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3225#issue-5022523663 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3225 |
| #3224 | https://github.com/modelcontextprotocol/python-sdk/issues/3224 |
| #3227 | https://github.com/modelcontextprotocol/python-sdk/issues/3227 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3225 |
| https://github.com/apps/cubic-dev-ai |
| cubic-dev-ai | https://github.com/apps/cubic-dev-ai |
|
Jul 30, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3225#pullrequestreview-4821768889 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/3225/files |
| cubic-dev-ai | https://github.com/apps/cubic-dev-ai |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3225 |
| https://github.com/modelcontextprotocol/python-sdk/pull/3225#pullrequestreview-4821768889 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Re-trigger cubic | https://www.cubic.dev/action/re-review/pr/modelcontextprotocol/python-sdk/3225/ai_pr_review_1785433773162_4ec5621d-402d-4b99-87b2-4a4a842a144b?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3225 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3225 |
| tests/server/mcpserver/test_func_metadata.py | https://github.com/modelcontextprotocol/python-sdk/pull/3225/files#diff-441229bc4427c8d5e50cc305a07b43d42f2a292682cf4b0161e59b4f4685e9b8 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3225 |
| https://github.com/sainikhiljuluri |
| sainikhiljuluri | https://github.com/sainikhiljuluri |
| Jul 30, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3225#event-28737260803 |
| https://github.com/sainikhiljuluri |
| sainikhiljuluri | https://github.com/sainikhiljuluri |
| Jul 30, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3225#event-28741986347 |
| sainikhiljuluri | https://github.com/sainikhiljuluri |
| July 30, 2026 13:27 | https://github.com/modelcontextprotocol/python-sdk/pull/3225#commits-pushed-cad7cd6 |
|
| https://github.com/sainikhiljuluri |
|
| https://github.com/claude |
| fix(mcpserver): omit unreturned TypedDict keys from structuredContent | https://github.com/modelcontextprotocol/python-sdk/pull/3225/commits/cad7cd627a7247457106254aed2e6f2bb9bcf070 |
| cad7cd6 | https://github.com/modelcontextprotocol/python-sdk/pull/3225/commits/cad7cd627a7247457106254aed2e6f2bb9bcf070 |
|
| https://github.com/sainikhiljuluri |
| fix(tests): import NotRequired from typing_extensions for Python 3.10 | https://github.com/modelcontextprotocol/python-sdk/pull/3225/commits/8d306c064262a838dfcfa624017c231d801bcc1e |
| 8d306c0 | https://github.com/modelcontextprotocol/python-sdk/pull/3225/commits/8d306c064262a838dfcfa624017c231d801bcc1e |
|
| https://github.com/sainikhiljuluri |
| fix(mcpserver): resolve TypedDict hints via typing_extensions for Pyt… | https://github.com/modelcontextprotocol/python-sdk/pull/3225/commits/826bde01869cacb237858a5787c81bf7a527402f |
| 826bde0 | https://github.com/modelcontextprotocol/python-sdk/pull/3225/commits/826bde01869cacb237858a5787c81bf7a527402f |
|
| https://github.com/sainikhiljuluri |
| docs(structured-output): document NotRequired key omission | https://github.com/modelcontextprotocol/python-sdk/pull/3225/commits/ec734d15be54358a7a3b1a7069cfe10dc8a1c92a |
| ec734d1 | https://github.com/modelcontextprotocol/python-sdk/pull/3225/commits/ec734d15be54358a7a3b1a7069cfe10dc8a1c92a |
| https://github.com/sainikhiljuluri |
| sainikhiljuluri | https://github.com/sainikhiljuluri |
| force-pushed | https://github.com/modelcontextprotocol/python-sdk/compare/560dc387672baab6acca363d231d74364c8fe842..ec734d15be54358a7a3b1a7069cfe10dc8a1c92a |
| 560dc38 | https://github.com/modelcontextprotocol/python-sdk/commit/560dc387672baab6acca363d231d74364c8fe842 |
| ec734d1 | https://github.com/modelcontextprotocol/python-sdk/commit/ec734d15be54358a7a3b1a7069cfe10dc8a1c92a |
|
Compare
| https://github.com/modelcontextprotocol/python-sdk/compare/560dc387672baab6acca363d231d74364c8fe842..ec734d15be54358a7a3b1a7069cfe10dc8a1c92a |
| July 30, 2026 20:27 | https://github.com/modelcontextprotocol/python-sdk/pull/3225#event-28743572488 |
| https://github.com/sainikhiljuluri |
| sainikhiljuluri | https://github.com/sainikhiljuluri |
|
Jul 30, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3225#ref-issue-5023830041 |
|
NotRequired TypedDict return annotation raises PydanticForbiddenQualifier at tool registration on Python 3.10
#3227
| https://github.com/modelcontextprotocol/python-sdk/issues/3227 |
|
| https://github.com/sainikhiljuluri |
|
| https://github.com/claude |
| test(mcpserver): pin nested TypedDict and explicit-None omission beha… | https://github.com/modelcontextprotocol/python-sdk/pull/3225/commits/e8cc6f6cfc898eabcda77c5fb6a485588a93ec61 |
| e8cc6f6 | https://github.com/modelcontextprotocol/python-sdk/pull/3225/commits/e8cc6f6cfc898eabcda77c5fb6a485588a93ec61 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
missing-issue-link
| https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3Amissing-issue-link |
| Aug 17, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3225#event-29569682851 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Aug 17, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3225#issuecomment-5317650008 |
| CONTRIBUTING.md | https://github.com/modelcontextprotocol/python-sdk/blob/main/CONTRIBUTING.md#how-pull-requests-get-in |
| #3224 | https://github.com/modelcontextprotocol/python-sdk/issues/3224 |
| #3224 | https://github.com/modelcontextprotocol/python-sdk/issues/3224 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3225 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Aug 17, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3225#event-29569684045 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
|
Aug 18, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3225#ref-pullrequest-5182178699 |
|
Hand TypedDict tool results to pydantic natively
#3331
| https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3225 |
|
| https://github.com/apps/cubic-dev-ai |
|
cubic-dev-ai[bot]
| https://github.com/apps/cubic-dev-ai |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3225/files/833a41fc1ec324a576c0879f470960ca6812a1fe |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3225 |
|
missing-issue-link
| https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3Amissing-issue-link |
|
structuredContent for a TypedDict return injects nulls for NotRequired keys, violating the tool's own outputSchema
| https://github.com/modelcontextprotocol/python-sdk/issues/3224 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3225 |
|
| https://github.com/sainikhiljuluri |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |