Skip to content

Conversation

@DonJayamanne
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings February 4, 2026 05:32
@DonJayamanne DonJayamanne self-assigned this Feb 4, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for serialized tool call results that return resources (URIs and Locations) by introducing a new ChatToolResourcesInvocationData type across the API surface and internal implementation.

Changes:

  • Adds ChatToolResourcesInvocationData interface to the proposed API with a values array property
  • Updates internal types and union types to include IChatToolResourcesInvocationData
  • Implements rendering logic to display resources as collapsible lists
  • Adds accessibility support for screen readers

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts Adds new ChatToolResourcesInvocationData interface to extension API with values: Array<Uri | Location> property
src/vs/workbench/contrib/chat/common/chatService/chatService.ts Adds internal IChatToolResourcesInvocationData interface and updates union types in tool invocation interfaces
src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationPart.ts Implements rendering for resources tool data by reusing existing ChatResultListSubPart
src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.ts Adds accessibility descriptions for resources, formatting URIs and Locations for screen readers
src/vs/workbench/api/common/extHostTypeConverters.ts Adds conversion logic from extension API types to internal types (contains critical bug)

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