Skip to content

Commit 5d40a51

Browse files
committed
update description to include markdown
1 parent e566793 commit 5d40a51

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@
944944
],
945945
"toolReferenceName": "qsharpGetLibraryDescriptions",
946946
"displayName": "Get Q# Library API Descriptions",
947-
"modelDescription": "Returns a structured JSON description of all Q# standard library items, organized by namespace. Each item includes its name, namespace, kind, signature, summary, parameter descriptions, and output description. Use this tool to answer any questions about Q# library functions or to ensure generated Q# code uses library functions correctly.",
947+
"modelDescription": "Returns a Markdown string summarizing all Q# standard library items, grouped by namespace. Each entry includes its signature and a short description extracted from doc comments when available. Use this tool to answer any questions about Q# library functions or to ensure generated Q# code uses library functions correctly.",
948948
"canBeReferencedInPrompt": true,
949949
"icon": "./resources/file-icon-light.svg",
950950
"inputSchema": {

source/vscode/src/gh-copilot/qsharpTools.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ export class QSharpTools {
223223
}
224224

225225
/**
226-
* Copilot tool: Returns a structured JSON description of all Q# standard library items,
227-
* organized by namespace. Each item includes its name, namespace, kind, signature, summary,
228-
* parameter descriptions, and output description.
226+
* Copilot tool: Returns a Markdown string summarizing all Q# standard library items,
227+
* organized by namespace. Each entry includes its signature and a short description extracted
228+
* from doc comments when available.
229229
*/
230230
async qsharpGetLibraryDescriptions(): Promise<string> {
231231
const compilerRunTimeoutMs = 1000 * 5; // 5 seconds

0 commit comments

Comments
 (0)