René's URL Explorer Experiment


Title: Schema docs: JSONRPCResponse and SamplingMessageContentBlock missing from documentation · Issue #1982 · modelcontextprotocol/modelcontextprotocol · GitHub

Open Graph Title: Schema docs: JSONRPCResponse and SamplingMessageContentBlock missing from documentation · Issue #1982 · modelcontextprotocol/modelcontextprotocol

X Title: Schema docs: JSONRPCResponse and SamplingMessageContentBlock missing from documentation · Issue #1982 · modelcontextprotocol/modelcontextprotocol

Description: Summary Two type aliases are referenced in the schema reference page but not documented: JSONRPCResponse SamplingMessageContentBlock Clicking these links leads to broken anchors. 1. JSONRPCResponse In the rendered docs (e.g., 2025-11-25 ...

Open Graph Description: Summary Two type aliases are referenced in the schema reference page but not documented: JSONRPCResponse SamplingMessageContentBlock Clicking these links leads to broken anchors. 1. JSONRPCResponse...

X Description: Summary Two type aliases are referenced in the schema reference page but not documented: JSONRPCResponse SamplingMessageContentBlock Clicking these links leads to broken anchors. 1. JSONRPCResponse...

Opengraph URL: https://github.com/modelcontextprotocol/modelcontextprotocol/issues/1982

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Schema docs: JSONRPCResponse and SamplingMessageContentBlock missing from documentation","articleBody":"## Summary\n\nTwo type aliases are referenced in the schema reference page but not documented:\n1. `JSONRPCResponse`\n2. `SamplingMessageContentBlock`\n\nClicking these links leads to broken anchors.\n\n## 1. JSONRPCResponse\n\n**In the rendered docs** (e.g., [2025-11-25 schema reference](https://modelcontextprotocol.io/specification/2025-11-25/schema)):\n\n```\nJSONRPCMessage: JSONRPCRequest | JSONRPCNotification | JSONRPCResponse\n```\n\n**Root cause:** Missing `@category JSON-RPC` tag in `schema/2025-11-25/schema.ts`:\n\n```typescript\n/**\n * A response to a request, containing either the result or error.\n */  // \u003c-- Missing @category tag\nexport type JSONRPCResponse = JSONRPCResultResponse | JSONRPCErrorResponse;\n```\n\n## 2. SamplingMessageContentBlock\n\nReferenced in `SamplingMessage` and `CreateMessageResult`:\n```\ncontent: SamplingMessageContentBlock | SamplingMessageContentBlock[]\n```\n\n**Root cause:** No JSDoc comment at all in `schema/2025-11-25/schema.ts`:\n\n```typescript\n}\nexport type SamplingMessageContentBlock =   // \u003c-- No JSDoc comment\n  | TextContent\n  | ImageContent\n  | AudioContent\n  | ToolUseContent\n  | ToolResultContent;\n```\n\n## Fix\n\n**For JSONRPCResponse**, add `@category JSON-RPC`:\n\n```typescript\n/**\n * A response to a request, containing either the result or error.\n *\n * @category JSON-RPC\n */\nexport type JSONRPCResponse = JSONRPCResultResponse | JSONRPCErrorResponse;\n```\n\n**For SamplingMessageContentBlock**, add a JSDoc with `@category`:\n\n```typescript\n/**\n * Content block types that can appear in sampling messages.\n *\n * @category `sampling/createMessage`\n */\nexport type SamplingMessageContentBlock =\n  | TextContent\n  | ImageContent\n  | AudioContent\n  | ToolUseContent\n  | ToolResultContent;\n```\n\nBoth need to be fixed in:\n- `schema/2025-11-25/schema.ts`\n- `schema/draft/schema.ts`\n\nThen regenerate docs with `npm run generate:schema:md`.\n\n\u003csub\u003e[AI Disclaimer](https://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d)\u003c/sub\u003e","author":{"url":"https://github.com/maxisbey","@type":"Person","name":"maxisbey"},"datePublished":"2025-12-15T13:59:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1982/modelcontextprotocol/issues/1982"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:06035927-eed8-f85b-25f0-e5f0c2b23ab3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD844:36133E:89F656D:B8936D4:696E21E4
html-safe-noncebffa0686a10643577be83df69248fd57916f18092042ad3f859bdf3184b3cedf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODQ0OjM2MTMzRTo4OUY2NTZEOkI4OTM2RDQ6Njk2RTIxRTQiLCJ2aXNpdG9yX2lkIjoiNjY5ODAwNjUxMjEwNzY1OTc0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacab80aba165237664a3d236b916f567894f6efde27da7f1531d7c93d12fffc360
hovercard-subject-tagissue:3730577861
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/modelcontextprotocol/modelcontextprotocol/1982/issue_layout
twitter:imagehttps://opengraph.githubassets.com/30a11e503d27d8f3c63f2e69940e63f79f74fc4f53038c80c55e9787936ce015/modelcontextprotocol/modelcontextprotocol/issues/1982
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/30a11e503d27d8f3c63f2e69940e63f79f74fc4f53038c80c55e9787936ce015/modelcontextprotocol/modelcontextprotocol/issues/1982
og:image:altSummary Two type aliases are referenced in the schema reference page but not documented: JSONRPCResponse SamplingMessageContentBlock Clicking these links leads to broken anchors. 1. JSONRPCResponse...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaxisbey
hostnamegithub.com
expected-hostnamegithub.com
None2fbe8cba5e260284c10af515699ff9bb2d6ace05ab6c2e2e585b71d93b2812c3
turbo-cache-controlno-preview
go-importgithub.com/modelcontextprotocol/modelcontextprotocol git https://github.com/modelcontextprotocol/modelcontextprotocol.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862570523
octolytics-dimension-repository_nwomodelcontextprotocol/modelcontextprotocol
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862570523
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/modelcontextprotocol
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7fb3bc5c995a876085291706b75cf9b08900c338
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/issues/1982#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fmodelcontextprotocol%2Fissues%2F1982
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fmodelcontextprotocol%2Fissues%2F1982
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=modelcontextprotocol%2Fmodelcontextprotocol
Reloadhttps://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/issues/1982
Reloadhttps://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/issues/1982
Reloadhttps://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/issues/1982
modelcontextprotocol https://patch-diff.githubusercontent.com/modelcontextprotocol
modelcontextprotocolhttps://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fmodelcontextprotocol%2Fmodelcontextprotocol
Fork 1.2k https://patch-diff.githubusercontent.com/login?return_to=%2Fmodelcontextprotocol%2Fmodelcontextprotocol
Star 6.9k https://patch-diff.githubusercontent.com/login?return_to=%2Fmodelcontextprotocol%2Fmodelcontextprotocol
Code https://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol
Issues 208 https://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/issues
Pull requests 93 https://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/pulls
Discussions https://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/discussions
Actions https://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/actions
Projects 1 https://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/security
Please reload this pagehttps://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/issues/1982
Insights https://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/pulse
Code https://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol
Issues https://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/issues
Pull requests https://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/pulls
Discussions https://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/discussions
Actions https://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/actions
Projects https://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/projects
Security https://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/security
Insights https://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/modelcontextprotocol/modelcontextprotocol/issues/1982
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/modelcontextprotocol/modelcontextprotocol/issues/1982
#1983https://github.com/modelcontextprotocol/modelcontextprotocol/pull/1983
Schema docs: JSONRPCResponse and SamplingMessageContentBlock missing from documentationhttps://patch-diff.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/issues/1982#top
#1983https://github.com/modelcontextprotocol/modelcontextprotocol/pull/1983
bugSomething isn't workinghttps://github.com/modelcontextprotocol/modelcontextprotocol/issues?q=state%3Aopen%20label%3A%22bug%22
documentationImprovements or additions to documentationhttps://github.com/modelcontextprotocol/modelcontextprotocol/issues?q=state%3Aopen%20label%3A%22documentation%22
https://github.com/maxisbey
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
on Dec 15, 2025https://github.com/modelcontextprotocol/modelcontextprotocol/issues/1982#issue-3730577861
2025-11-25 schema referencehttps://modelcontextprotocol.io/specification/2025-11-25/schema
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
bugSomething isn't workinghttps://github.com/modelcontextprotocol/modelcontextprotocol/issues?q=state%3Aopen%20label%3A%22bug%22
documentationImprovements or additions to documentationhttps://github.com/modelcontextprotocol/modelcontextprotocol/issues?q=state%3Aopen%20label%3A%22documentation%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.