Title: fix: skip outputSchema validation when CallToolResult.is_error=True by RanjithHiremath · Pull Request #2508 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: fix: skip outputSchema validation when CallToolResult.is_error=True by RanjithHiremath · Pull Request #2508 · modelcontextprotocol/python-sdk
X Title: fix: skip outputSchema validation when CallToolResult.is_error=True by RanjithHiremath · Pull Request #2508 · modelcontextprotocol/python-sdk
Description: The official Python SDK for Model Context Protocol servers and clients - fix: skip outputSchema validation when CallToolResult.is_error=True by RanjithHiremath · Pull Request #2508 · modelcontextprotocol/python-sdk
Open Graph Description: Resolves #2429. When a tool function with an output_schema returns CallToolResult(is_error=True), convert_result() was unconditionally calling output_model.model_validate(result.structured_content)...
X Description: Resolves #2429. When a tool function with an output_schema returns CallToolResult(is_error=True), convert_result() was unconditionally calling output_model.model_validate(result.structured_content)...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2508
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:b0de481b-7b21-e9cd-f948-53508a048e30 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C734:2243FD:17EFE3F:1F74EE2:6A5C6E7A |
| html-safe-nonce | 86889b4da9251a2e995d02f9766bff5365480e9761d2df4bef758a1097f753e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzM0OjIyNDNGRDoxN0VGRTNGOjFGNzRFRTI6NkE1QzZFN0EiLCJ2aXNpdG9yX2lkIjoiODcwNzExODQwNDE3OTA5NTE2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | abcd867297b28445171b9363b8f0346b40bb0679de8f5d26a14bf0e578f83b7e |
| hovercard-subject-tag | pull_request:3586524308 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2508/commits |
| twitter:image | https://opengraph.githubassets.com/df9a64d47f5bf2268e26f447c4f1a10a1dd157d78f89de4f8de9184aca4e5e93/modelcontextprotocol/python-sdk/pull/2508 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/df9a64d47f5bf2268e26f447c4f1a10a1dd157d78f89de4f8de9184aca4e5e93/modelcontextprotocol/python-sdk/pull/2508 |
| og:image:alt | Resolves #2429. When a tool function with an output_schema returns CallToolResult(is_error=True), convert_result() was unconditionally calling output_model.model_validate(result.structured_content)... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | RanjithHiremath |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width