Skip to content

Commit 26acb26

Browse files
authored
Merge pull request #1161 from microsoft/isidorn/outside-antlion
Add canBeReferencedInPrompt property to tools
2 parents 6a36430 + c835f5e commit 26acb26

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

chat-sample/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,10 @@
9494
"editors",
9595
"chat-tools-sample"
9696
],
97-
"toolReferenceName": "tabCount",
97+
"toolReferenceName": "countTabs",
9898
"displayName": "Tab Count",
9999
"modelDescription": "The number of active tabs in a tab group",
100+
"canBeReferencedInPrompt": true,
100101
"icon": "$(files)",
101102
"inputSchema": {
102103
"type": "object",
@@ -116,8 +117,10 @@
116117
"search",
117118
"chat-tools-sample"
118119
],
120+
"toolReferenceName": "findFiles",
119121
"displayName": "Find Files",
120122
"modelDescription": "Search for files in the current workspace",
123+
"canBeReferencedInPrompt": true,
121124
"inputSchema": {
122125
"type": "object",
123126
"properties": {
@@ -139,6 +142,7 @@
139142
],
140143
"displayName": "Run in Terminal",
141144
"modelDescription": "Run a command in a terminal and return the output",
145+
"canBeReferencedInPrompt": false,
142146
"inputSchema": {
143147
"type": "object",
144148
"properties": {

0 commit comments

Comments
 (0)