| 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:6265ef47-09be-2e41-7d65-6998ca99b794 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8CFA:10014:121BDCE:18B9E14:6B0563EF |
| html-safe-nonce | be76dc50e15ae6b80c6454a89a3e0cdaa79ec69176df5b975af06ca3fe9d07a3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0ZBOjEwMDE0OjEyMUJEQ0U6MThCOUUxNDo2QjA1NjNFRiIsInZpc2l0b3JfaWQiOiI2NzI1MjY0Mjk0NDQ1MTQ3MTE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 50b5cd0dc889b4959d6cba6aab7d6b77c1b113ca581df11511c6949bcea55cf1 |
| hovercard-subject-tag | pull_request:4716303121 |
| 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/3621/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/0c38bcb16570db3fecdc84b8e743d638fc90ec2ce341064dbce22343e0b2c350/modelcontextprotocol/python-sdk/pull/3621 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0c38bcb16570db3fecdc84b8e743d638fc90ec2ce341064dbce22343e0b2c350/modelcontextprotocol/python-sdk/pull/3621 |
| og:image:alt | Fixes #3345.
What was wrong
When a tool declares an output schema and the server returns "structuredContent": null, the client raised Tool ... has an output schema but did not return stru... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maxisbey |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1be5cc09efdd4833c24a4ffa71d698e3999fa09071e159fe14c2c08e41c98331 |
| 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 | f6d69234e682c947a48074340e69d45d5901de31 |
| 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/3621#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3621 |
| 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%2F3621 |
| 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/3621 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/3621 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/3621 |
| modelcontextprotocol | https://github.com/modelcontextprotocol |
| python-sdk | https://github.com/modelcontextprotocol/python-sdk |
| Code | https://github.com/modelcontextprotocol/python-sdk |
| Issues320 (320) | 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 |
| maxisbey | https://github.com/maxisbey |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| 3345-null-structured-content | https://github.com/modelcontextprotocol/python-sdk/tree/3345-null-structured-content |
| Conversation | https://github.com/modelcontextprotocol/python-sdk/pull/3621 |
| Commits1 (1) | https://github.com/modelcontextprotocol/python-sdk/pull/3621/commits |
| Checks | https://github.com/modelcontextprotocol/python-sdk/pull/3621/checks |
| Files changed | https://github.com/modelcontextprotocol/python-sdk/pull/3621/files |
| Validate an explicit null structuredContent against the output schema | https://github.com/modelcontextprotocol/python-sdk/pull/3621#top |
| maxisbey | https://github.com/maxisbey |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| 3345-null-structured-content | https://github.com/modelcontextprotocol/python-sdk/tree/3345-null-structured-content |
|
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| Oct 2, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3621#issue-5677252612 |
| #3345 | https://github.com/modelcontextprotocol/python-sdk/issues/3345 |
| schema.ts | https://github.com/modelcontextprotocol/modelcontextprotocol/blob/3098fe94caa1b9e0afaaa6d30e040b61d5802471/schema/2026-07-28/schema.ts#L1815-L1821 |
| client.ts | https://github.com/modelcontextprotocol/typescript-sdk/blob/433eb413dc305ebeb93b8ebcde0095a8fc0d5fa0/packages/client/src/client/client.ts#L2446-L2450 |
| AI Disclaimer | https://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3621 |
|
| https://github.com/maxisbey |
| Validate an explicit null structuredContent against the output schema | https://github.com/modelcontextprotocol/python-sdk/pull/3621/commits/9026b4138894c58482188e2410921e7c00d2e200 |
| 9026b41 | https://github.com/modelcontextprotocol/python-sdk/pull/3621/commits/9026b4138894c58482188e2410921e7c00d2e200 |
| #3345 | https://github.com/modelcontextprotocol/python-sdk/issues/3345 |
| https://github.com/apps/cubic-dev-ai |
| cubic-dev-ai | https://github.com/apps/cubic-dev-ai |
|
Oct 2, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3621#pullrequestreview-5391646030 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/3621/files/9026b4138894c58482188e2410921e7c00d2e200 |
| cubic-dev-ai | https://github.com/apps/cubic-dev-ai |
| https://github.com/modelcontextprotocol/python-sdk/pull/3621#pullrequestreview-5391646030 |
| 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/3621/ai_pr_review_github_delivery_ed1fb919f1b8b292a193b4ae731b3c64ddab98a696e055037c346bb59ac5d1f0?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3621 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3621 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| 0809579 | https://github.com/modelcontextprotocol/python-sdk/commit/08095791f0c8b8e6a0e8a137ca5ab4a511259ec7 |
| Oct 2, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3621#event-32332849308 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3621 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| October 2, 2026 12:22 | https://github.com/modelcontextprotocol/python-sdk/pull/3621#event-32332851437 |
| https://github.com/apps/claude |
| claude | https://github.com/apps/claude |
|
Oct 2, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3621#pullrequestreview-5391679203 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/3621/files/9026b4138894c58482188e2410921e7c00d2e200 |
| claude | https://github.com/apps/claude |
| https://github.com/modelcontextprotocol/python-sdk/pull/3621#pullrequestreview-5391679203 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 449070c | https://github.com/modelcontextprotocol/python-sdk/commit/449070c15656a8d8c0fe75e2790e71f1033689a5 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3621 |
| tests/client/test_session.py | https://github.com/modelcontextprotocol/python-sdk/pull/3621/files/9026b4138894c58482188e2410921e7c00d2e200#diff-623490a9c2dd576cc59e89f8d51f64acfffdeaad940e0bd4a0a51a50bc30d92d |
| claude | https://github.com/apps/claude |
| Oct 2, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3621#discussion_r4165634521 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3621 |
| src/mcp/client/session.py | https://github.com/modelcontextprotocol/python-sdk/pull/3621/files/9026b4138894c58482188e2410921e7c00d2e200#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
| claude | https://github.com/apps/claude |
| Oct 2, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3621#discussion_r4165634523 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3621 |
| src/mcp/client/session.py | https://github.com/modelcontextprotocol/python-sdk/pull/3621/files/9026b4138894c58482188e2410921e7c00d2e200#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
| claude | https://github.com/apps/claude |
| Oct 2, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3621#discussion_r4165634529 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 449070c | https://github.com/modelcontextprotocol/python-sdk/commit/449070c15656a8d8c0fe75e2790e71f1033689a5 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3621 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
|
Oct 2, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3621#ref-issue-5206097349 |
|
Client treats JSON-null structuredContent as missing, skipping outputSchema validation
#3345
| https://github.com/modelcontextprotocol/python-sdk/issues/3345 |
| 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%2F3621 |
|
| 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/3621/files/9026b4138894c58482188e2410921e7c00d2e200 |
|
| https://github.com/apps/claude |
|
claude[bot]
| https://github.com/apps/claude |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3621/files/9026b4138894c58482188e2410921e7c00d2e200 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3621 |
|
Client treats JSON-null structuredContent as missing, skipping outputSchema validation
| https://github.com/modelcontextprotocol/python-sdk/issues/3345 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3621 |
|
| https://github.com/maxisbey |
|
| 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 |