Skip to content

The current system prompt effectively prevents the use of any run-command tool other than the built-in run_in_terminal. #261033

@tamuratak

Description

@tamuratak

Name: GitHub Copilot Chat
Id: GitHub.copilot-chat
Description: AI chat features powered by Copilot
Version: 0.31.2025081101
Publisher: GitHub
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat

Version: 1.104.0-insider
Commit: 05a5962
Date: 2025-08-11T05:03:43.048Z
Electron: 37.2.3
ElectronBuildId: 12035395
Chromium: 138.0.7204.100
Node.js: 22.17.0
V8: 13.8.500258-electron.0
OS: Darwin arm64 24.6.0

The current system prompt effectively prevents the use of any run-command tool other than the built-in run_in_terminal. If run_in_terminal is disabled in the tool selection, the system prompt says: “You don't currently have any tools available for running terminal commands. If the user asks you to run a terminal command, you can ask the user to enable terminal tools or print a code block with the suggested command.”

This wording blocks the agent from recognizing or using third-party run-command tools. For instance, I built a run-command tool that runs commands in a sandbox using sandbox-exec, but the current prompt makes such use cases impossible.

Although the system prompt can be partially overridden using .github/copilot-instructions.md, it would be far better to make it adaptable to third-party tools.

Metadata

Metadata

Assignees

Labels

*out-of-scopePosted issue is not in scope of VS Codechat-terminalThe run in terminal tool in chatunder-discussionIssue is under discussion for relevance, priority, approach

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions