| 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:0d4add7b-ea08-a67b-324b-55171d79fe38 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B748:100D5A:C995D8:107C4D8:6A5B09F6 |
| html-safe-nonce | db02f071e6e672ee6db12678fbe239103862ecb23d70d2ff81d9bdc90f1ee2cb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzQ4OjEwMEQ1QTpDOTk1RDg6MTA3QzREODo2QTVCMDlGNiIsInZpc2l0b3JfaWQiOiIzNjY2MTc3MTgzNjM3NTA2NTUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6bd4df83a1bebe1b4809e731b00bee4fc7282c189dcf740fb72ebee278f115e3 |
| hovercard-subject-tag | pull_request:2590068968 |
| 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/java-sdk/313/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/248c4b09c5f1fe8be6a4ea2c73f18944e7606786993144e489f5a468a4803f92/modelcontextprotocol/java-sdk/pull/313 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/248c4b09c5f1fe8be6a4ea2c73f18944e7606786993144e489f5a468a4803f92/modelcontextprotocol/java-sdk/pull/313 |
| og:image:alt | Fixes #312
As mentioned in the issue, it is highly necessary to support annotations. This PR includes the following changes:
Added the annotations property to McpSchema.Tool.
Added corresponding u... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sunyuhan1998 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-cache |
| go-import | github.com/modelcontextprotocol/java-sdk git https://github.com/modelcontextprotocol/java-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 919609219 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/java-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 919609219 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/java-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 |
| Skip to content | https://github.com/modelcontextprotocol/java-sdk/pull/313#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F313 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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 |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F313 |
|
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%2Fjava-sdk |
| Reload | https://github.com/modelcontextprotocol/java-sdk/pull/313 |
| Reload | https://github.com/modelcontextprotocol/java-sdk/pull/313 |
| Reload | https://github.com/modelcontextprotocol/java-sdk/pull/313 |
| Please reload this page | https://github.com/modelcontextprotocol/java-sdk/pull/313 |
|
modelcontextprotocol
| https://github.com/modelcontextprotocol |
| java-sdk | https://github.com/modelcontextprotocol/java-sdk |
|
Notifications
| https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk |
|
Fork
978
| https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk |
|
Star
3.6k
| https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk |
|
Code
| https://github.com/modelcontextprotocol/java-sdk |
|
Issues
133
| https://github.com/modelcontextprotocol/java-sdk/issues |
|
Pull requests
147
| https://github.com/modelcontextprotocol/java-sdk/pulls |
|
Discussions
| https://github.com/modelcontextprotocol/java-sdk/discussions |
|
Actions
| https://github.com/modelcontextprotocol/java-sdk/actions |
|
Projects
| https://github.com/modelcontextprotocol/java-sdk/projects |
|
Models
| https://github.com/modelcontextprotocol/java-sdk/models |
|
Security and quality
2
| https://github.com/modelcontextprotocol/java-sdk/security |
|
Insights
| https://github.com/modelcontextprotocol/java-sdk/pulse |
|
Code
| https://github.com/modelcontextprotocol/java-sdk |
|
Issues
| https://github.com/modelcontextprotocol/java-sdk/issues |
|
Pull requests
| https://github.com/modelcontextprotocol/java-sdk/pulls |
|
Discussions
| https://github.com/modelcontextprotocol/java-sdk/discussions |
|
Actions
| https://github.com/modelcontextprotocol/java-sdk/actions |
|
Projects
| https://github.com/modelcontextprotocol/java-sdk/projects |
|
Models
| https://github.com/modelcontextprotocol/java-sdk/models |
|
Security and quality
| https://github.com/modelcontextprotocol/java-sdk/security |
|
Insights
| https://github.com/modelcontextprotocol/java-sdk/pulse |
| sunyuhan1998 | https://github.com/sunyuhan1998 |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/java-sdk/tree/main |
| sunyuhan1998:feat-tool-annotations | https://github.com/sunyuhan1998/java-sdk/tree/feat-tool-annotations |
| Conversation | https://github.com/modelcontextprotocol/java-sdk/pull/313 |
| Commits1 (1) | https://github.com/modelcontextprotocol/java-sdk/pull/313/commits |
| Checks | https://github.com/modelcontextprotocol/java-sdk/pull/313/checks |
| Files changed | https://github.com/modelcontextprotocol/java-sdk/pull/313/files |
| Feat: Added the annotations attribute to McpSchema.Tool | https://github.com/modelcontextprotocol/java-sdk/pull/313#top |
| sunyuhan1998 | https://github.com/sunyuhan1998 |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/java-sdk/tree/main |
| sunyuhan1998:feat-tool-annotations | https://github.com/sunyuhan1998/java-sdk/tree/feat-tool-annotations |
|
| https://github.com/sunyuhan1998 |
| sunyuhan1998 | https://github.com/sunyuhan1998 |
| Jun 13, 2025 | https://github.com/modelcontextprotocol/java-sdk/pull/313#issue-3143347672 |
| #312 | https://github.com/modelcontextprotocol/java-sdk/issues/312 |
| Please reload this page | https://github.com/modelcontextprotocol/java-sdk/pull/313 |
|
| https://github.com/sunyuhan1998 |
| feat: Added the annotations attribute to McpSchema.Tool | https://github.com/modelcontextprotocol/java-sdk/pull/313/commits/ca20a259d471bce7db2686a2b61563f222cf874e |
| ca20a25 | https://github.com/modelcontextprotocol/java-sdk/pull/313/commits/ca20a259d471bce7db2686a2b61563f222cf874e |
| https://github.com/sunyuhan1998 |
| sunyuhan1998 | https://github.com/sunyuhan1998 |
| Jun 16, 2025 | https://github.com/modelcontextprotocol/java-sdk/pull/313#issuecomment-2974855972 |
| Please reload this page | https://github.com/modelcontextprotocol/java-sdk/pull/313 |
| @tzolov | https://github.com/tzolov |
| @chemicL | https://github.com/chemicL |
| Please reload this page | https://github.com/modelcontextprotocol/java-sdk/pull/313 |
| https://github.com/tzolov |
| tzolov | https://github.com/tzolov |
| Jun 24, 2025 | https://github.com/modelcontextprotocol/java-sdk/pull/313#event-18286776746 |
| https://github.com/tzolov |
| tzolov | https://github.com/tzolov |
| 0.11.0 | https://github.com/modelcontextprotocol/java-sdk/milestone/4 |
| Jun 24, 2025 | https://github.com/modelcontextprotocol/java-sdk/pull/313#event-18286777732 |
| https://github.com/tzolov |
| tzolov | https://github.com/tzolov |
|
area/mcp-schema
| https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Aarea%2Fmcp-schema |
| Jun 24, 2025 | https://github.com/modelcontextprotocol/java-sdk/pull/313#event-18286779296 |
| https://github.com/tzolov |
| tzolov | https://github.com/tzolov |
| Jun 24, 2025 | https://github.com/modelcontextprotocol/java-sdk/pull/313#issuecomment-2999227539 |
| @sunyuhan1998 | https://github.com/sunyuhan1998 |
| Please reload this page | https://github.com/modelcontextprotocol/java-sdk/pull/313 |
| tzolov | https://github.com/tzolov |
|
Jun 24, 2025
| https://github.com/modelcontextprotocol/java-sdk/pull/313#ref-commit-ba5bc94 |
|
| https://github.com/sunyuhan1998 |
|
| https://github.com/tzolov |
| feat: Added the annotations attribute to McpSchema.Tool ( | https://github.com/modelcontextprotocol/java-sdk/commit/ba5bc9496381574aad26f88df297413f9aa694ca |
| #313 | https://github.com/modelcontextprotocol/java-sdk/pull/313 |
| ) | https://github.com/modelcontextprotocol/java-sdk/commit/ba5bc9496381574aad26f88df297413f9aa694ca |
| ba5bc94 | https://github.com/modelcontextprotocol/java-sdk/commit/ba5bc9496381574aad26f88df297413f9aa694ca |
| https://github.com/tzolov |
| tzolov | https://github.com/tzolov |
| Jun 24, 2025 | https://github.com/modelcontextprotocol/java-sdk/pull/313#issuecomment-2999272505 |
| ba5bc94 | https://github.com/modelcontextprotocol/java-sdk/commit/ba5bc9496381574aad26f88df297413f9aa694ca |
| Please reload this page | https://github.com/modelcontextprotocol/java-sdk/pull/313 |
| https://github.com/tzolov |
| tzolov | https://github.com/tzolov |
| Jun 24, 2025 | https://github.com/modelcontextprotocol/java-sdk/pull/313#event-18288776779 |
|
McpSchema.Tool requires the annotations attribute.
#312
| https://github.com/modelcontextprotocol/java-sdk/issues/312 |
|
Add comprehensive tool annotations
#185
| https://github.com/modelcontextprotocol/java-sdk/pull/185 |
| https://github.com/linkous8 |
| linkous8 | https://github.com/linkous8 |
|
Jul 18, 2025
| https://github.com/modelcontextprotocol/java-sdk/pull/313#ref-issue-2993068805 |
|
Force returning tool result/ressource as artifact without regeneration
modelcontextprotocol/python-sdk#509
| https://github.com/modelcontextprotocol/python-sdk/issues/509 |
| https://github.com/tzolov |
| tzolov | https://github.com/tzolov |
|
Jul 22, 2025
| https://github.com/modelcontextprotocol/java-sdk/pull/313#ref-issue-3221188140 |
|
Release 0.11.0
#386
| https://github.com/modelcontextprotocol/java-sdk/issues/386 |
| https://github.com/sunyuhan1998 |
| sunyuhan1998 | https://github.com/sunyuhan1998 |
|
Sep 18, 2025
| https://github.com/modelcontextprotocol/java-sdk/pull/313#ref-pullrequest-3427118156 |
|
fix returnDirect attribute default value change false to true
spring-projects/spring-ai#4412
| https://github.com/spring-projects/spring-ai/pull/4412 |
| rhishirajnema | https://github.com/rhishirajnema |
|
Jun 25, 2026
| https://github.com/modelcontextprotocol/java-sdk/pull/313#ref-commit-7f007e3 |
|
| https://github.com/parth-iprime |
|
| https://github.com/jitokim |
|
| https://github.com/denniskawurek |
|
| https://github.com/chemicL |
|
| https://github.com/tzolov |
|
| https://github.com/LucaButBoring |
|
| https://github.com/pantanurag555 |
|
| https://github.com/JooKS-me |
|
| https://github.com/sunyuhan1998 |
|
| https://github.com/gongwn1 |
|
| https://github.com/epaga |
|
| https://github.com/OrGivati |
|
| https://github.com/bzsurbhi |
|
| https://github.com/Kehrlann |
|
| https://github.com/134130 |
|
| https://github.com/ZachGerman |
|
| https://github.com/ilayaperumalg |
|
| https://github.com/quaff |
|
| https://github.com/codezkk |
|
| https://github.com/Randgalt |
|
| https://github.com/He-Pin |
|
| https://github.com/Zizo-Vi |
|
| https://github.com/zhangjingcn |
|
| https://github.com/stantonk |
|
| https://github.com/arcaputo3 |
|
| https://github.com/graemerocher |
|
| https://github.com/sdelamo |
|
| https://github.com/JunJieLiu51520 |
|
| https://github.com/asaikali |
|
| https://github.com/sheegansrigm |
|
| https://github.com/leehaut |
|
| https://github.com/bedrin |
|
| https://github.com/uarlouski |
|
| https://github.com/vorburger |
|
| https://github.com/hbsjz-swl |
|
| https://github.com/mingo1996 |
|
| https://github.com/codeboyzhou |
|
| https://github.com/ashakirin |
|
| https://github.com/jonathanhefner |
|
| https://github.com/rhtnr |
|
| https://github.com/sdeleuze |
|
| https://github.com/filiphr |
|
| https://github.com/scottslewis |
|
| https://github.com/rhishirajnema |
| link #115926 Upgrade MCP SDK fork to upstream v0.18.2 for streamable … | https://github.com/GreywallSoftware/java-sdk/commit/7f007e3320002f99aa710a77aadbc6b59559c744 |
| 7f007e3 | https://github.com/GreywallSoftware/java-sdk/commit/7f007e3320002f99aa710a77aadbc6b59559c744 |
| #7 | https://github.com/GreywallSoftware/java-sdk/pull/7 |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/java-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%2Fjava-sdk%2Fpull%2F313 |
|
| https://github.com/tzolov |
|
tzolov
| https://github.com/tzolov |
|
area/mcp-schema
| https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Aarea%2Fmcp-schema |
|
0.11.0
| https://github.com/modelcontextprotocol/java-sdk/milestone/4 |
|
McpSchema.Tool requires the annotations attribute.
| https://github.com/modelcontextprotocol/java-sdk/issues/312 |
| Please reload this page | https://github.com/modelcontextprotocol/java-sdk/pull/313 |
|
| https://github.com/sunyuhan1998 |
|
| https://github.com/tzolov |
|
| 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 |