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 | /_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:2a835f8f-4d5b-bba8-3009-bf580d5a5770 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A596:3213A4:120D185:17FB4A1:6A5B8D65 |
| html-safe-nonce | ec8058d302035d476a6e3a129d694e9181d9c83cb7e6596e521d4f3145c0f0dc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTk2OjMyMTNBNDoxMjBEMTg1OjE3RkI0QTE6NkE1QjhENjUiLCJ2aXNpdG9yX2lkIjoiNjQxMTQ5NDM2NzcwMzA0MzQyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4fdddb5167a63ff6c749566b6a8e0f77878d7af7bc88b14e7d988f4eb95769e9 |
| 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/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2508/pull_request_layout |
| 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