mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Add canBeReferencedInPrompt property to tools
This commit is contained in:
@ -97,6 +97,7 @@
|
||||
"toolReferenceName": "tabCount",
|
||||
"displayName": "Tab Count",
|
||||
"modelDescription": "The number of active tabs in a tab group",
|
||||
"canBeReferencedInPrompt": true,
|
||||
"icon": "$(files)",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
@ -118,6 +119,7 @@
|
||||
],
|
||||
"displayName": "Find Files",
|
||||
"modelDescription": "Search for files in the current workspace",
|
||||
"canBeReferencedInPrompt": true,
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -139,6 +141,7 @@
|
||||
],
|
||||
"displayName": "Run in Terminal",
|
||||
"modelDescription": "Run a command in a terminal and return the output",
|
||||
"canBeReferencedInPrompt": false,
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user