You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"modelDescription": "Provides details about the Python environment for a specified file or workspace, including environment type, Python version, run command, and installed packages with their versions. Use this tool to determine the correct command for executing Python code in this workspace.",
"modelDescription": "This tool will retrieve the details of the Python Environment for the specified file or workspace. The details returned include the 1. Type of Environment (conda, venv, etec), 2. Version of Python, 3. List of all installed packages with their versions. ",
520
+
"toolReferenceName": "pythonEnvironmentDetails",
517
521
"tags": [
518
-
"ms-python.python"
522
+
"extension_installed_by_tool"
519
523
],
520
-
"icon": "$(files)",
524
+
"icon": "$(snake)",
521
525
"canBeReferencedInPrompt": true,
522
526
"inputSchema": {
523
527
"type": "object",
@@ -527,19 +531,40 @@
527
531
}
528
532
},
529
533
"description": "The path to the Python file or workspace to get the environment information for.",
"modelDescription": "This tool will retrieve the details of the Python Environment for the specified file or workspace. ALWAYS use this tool before executing any Python command in the terminal. This tool returns the details of how to construct the fully qualified path and or command including details such as arguments required to run Python in a terminal. Note: Instead of executing `python --version` or `python -c 'import sys; print(sys.executable)'`, use this tool to get the Python executable path to replace the `python` command. E.g. instead of using `python -c 'import sys; print(sys.executable)'`, use this tool to build the command `conda run -n <env_name> -c 'import sys; print(sys.executable)'`.",
542
+
"toolReferenceName": "pythonExecutableDetails",
543
+
"tags": [
544
+
"extension_installed_by_tool"
545
+
],
546
+
"icon": "$(files)",
547
+
"canBeReferencedInPrompt": true,
548
+
"inputSchema": {
549
+
"type": "object",
550
+
"properties": {
551
+
"resourcePath": {
552
+
"type": "string"
553
+
}
554
+
},
555
+
"description": "The path to the Python file or workspace to get the executable information for. If not provided, the current workspace will be used. Where possible pass the path to the file or workspace.",
"modelDescription": "Installs Python packages in the given workspace. Use this tool to install packages in the user's chosen environment.",
540
-
"toolReferenceName": "pythonInstallPackage",
564
+
"toolReferenceName": "installPythonPackage",
541
565
"tags": [
542
-
"ms-python.python"
566
+
"install python package",
567
+
"extension_installed_by_tool"
543
568
],
544
569
"icon": "$(package)",
545
570
"canBeReferencedInPrompt": true,
@@ -555,14 +580,31 @@
555
580
},
556
581
"resourcePath": {
557
582
"type": "string",
558
-
"description": "The path to the Python file or workspace to get the environment information for."
583
+
"description": "The path to the Python file or workspace into which the packages are installed. If not provided, the current workspace will be used. Where possible pass the path to the file or workspace."
559
584
}
560
585
},
561
586
"required": [
562
-
"packageList",
563
-
"resourcePath"
587
+
"packageList"
564
588
]
565
589
}
590
+
},
591
+
{
592
+
"name": "create_quick_virtual_environment",
593
+
"displayName": "Create a Virtual Environment",
594
+
"modelDescription": "This tool will create a Virual Environment",
595
+
"tags": [],
596
+
"canBeReferencedInPrompt": false,
597
+
"inputSchema": {
598
+
"type": "object",
599
+
"properties": {
600
+
"resourcePath": {
601
+
"type": "string",
602
+
"description": "The path to the Python file or workspace for which a Python Environment needs to be configured."
"python.languageModelTools.python_environment.userDescription": "Get Python environment info for a file or path, including version, packages, and the command to run it.",
38
-
"python.languageModelTools.python_install_package.userDescription": "Installs Python packages in the given workspace."
"python.languageModelTools.get_python_environment_info.userDescription": "Get information for a Python Environment, such as Type, Version, Packages, and more.",
0 commit comments