Skip to content

Add user-friendly descriptions for PR tools#8514

Merged
alexr00 merged 3 commits intomainfrom
copilot/update-pr-tool-descriptions
Feb 13, 2026
Merged

Add user-friendly descriptions for PR tools#8514
alexr00 merged 3 commits intomainfrom
copilot/update-pr-tool-descriptions

Conversation

Copy link
Contributor

Copilot AI commented Feb 13, 2026

Tool descriptions shown to users were exposing implementation details like "JSON object" that are only relevant to the LLM.

Changes

  • Added userDescription fields to tools that only had modelDescription:

    • issue_fetch: "Get the details of a GitHub issue or pull request."
    • notification_fetch: "Get the details of a GitHub notification."
    • labels_fetch: "Fetch all labels from a GitHub repository, including their names, colors, and descriptions."
    • doSearch: "Search for GitHub issues and pull requests."
  • Added corresponding localization strings in package.nls.json

The modelDescription fields remain unchanged so LLMs still receive the technical context they need (e.g., JSON format details, query formation hints).

Original prompt

This section details on the original issue you should resolve

<issue_title>PR tool descriptions are not user-oriented</issue_title>
<issue_description>The user descriptions should not mention a "JSON Object", the user shouldn't care about that. The modelDescription which the LLM sees can mention that.

Image</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 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.

Copilot AI and others added 2 commits February 13, 2026 09:37
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Copilot AI changed the title [WIP] Update PR tool descriptions for better user orientation Add user-friendly descriptions for PR tools Feb 13, 2026
Copilot AI requested a review from alexr00 February 13, 2026 09:42
@alexr00 alexr00 marked this pull request as ready for review February 13, 2026 10:06
Copilot AI review requested due to automatic review settings February 13, 2026 10:06
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 user-friendly descriptions for GitHub Pull Request tools that are shown to end users. Previously, tool descriptions exposed implementation details like "JSON object" that are only relevant to the Language Model. The PR separates user-facing descriptions (userDescription) from model-facing descriptions (modelDescription).

Changes:

  • Added userDescription fields to 4 tools: issue_fetch, notification_fetch, labels_fetch, and doSearch
  • Added corresponding localization strings in package.nls.json
  • Enhanced labels_fetch modelDescription to explicitly mention "JSON object" for consistency

Note: The PR also includes extensive changes to VS Code proposed API type definitions that appear unrelated to the stated purpose.

Reviewed changes

Copilot reviewed 2 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package.json Added userDescription fields to 4 language model tools and improved labels_fetch modelDescription
package.nls.json Added 4 new user-friendly description strings for the tools
src/@types/vscode.proposed.chatSessionsProvider.d.ts Unrelated: Updates to chat sessions provider API including new states, readonly properties, and metadata support
src/@types/vscode.proposed.chatParticipantPrivate.d.ts Unrelated: Extensive additions to chat participant private API including hooks, permissions, and session tracking
src/@types/vscode.proposed.chatParticipantAdditions.d.ts Unrelated: Major additions including question carousels, new tool data types, and response parts
src/@types/vscode.proposed.chatContextProvider.d.ts Unrelated: Removed duplicate comment lines in documentation

@alexr00 alexr00 merged commit 5186f71 into main Feb 13, 2026
12 checks passed
@alexr00 alexr00 deleted the copilot/update-pr-tool-descriptions branch February 13, 2026 14:16
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.

PR tool descriptions are not user-oriented

4 participants