Skip to content

Comments

[WIP] Fix missing [Experimental] attribute on MCP tasks#1310

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/fix-experimental-api-properties
Closed

[WIP] Fix missing [Experimental] attribute on MCP tasks#1310
Copilot wants to merge 2 commits intomainfrom
copilot/fix-experimental-api-properties

Conversation

Copy link
Contributor

Copilot AI commented Feb 19, 2026

  • Identify all experimental properties on stable types missing [Experimental] or the internal property pattern
  • Apply internal property pattern to CallToolResult.Task (was missing [Experimental])
  • Apply internal property pattern to ClientCapabilities.Tasks (was missing [Experimental])
  • Apply internal property pattern to ServerCapabilities.Tasks (was missing [Experimental])
  • Apply internal property pattern to CallToolRequestParams.Task (was missing [Experimental])
  • Apply internal property pattern to CreateMessageRequestParams.Task (was missing [Experimental])
  • Apply internal property pattern to ElicitRequestParams.Task (was missing [Experimental])
  • Apply internal property pattern to Tool.Execution (had [Experimental] but missing internal pattern)
  • Build and test

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Add [Experimental(Experimentals.Tasks_DiagnosticId, UrlFormat = Experimentals.Tasks_Url)]
to three task-related properties that were accidentally missing it:
- CallToolResult.Task (McpTask?)
- ClientCapabilities.Tasks (McpTasksCapability?)
- ServerCapabilities.Tasks (McpTasksCapability?)

Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
@stephentoub
Copy link
Contributor

Already addressed by #1301

Copilot AI requested a review from stephentoub February 19, 2026 13:59
Copilot stopped work on behalf of stephentoub due to an error February 19, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants