github / github/copilot-cli

Custom tool whitelist

Open
#2,174 1 comment 0 reactions 0 assignees View on GitHub
area:tools
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the feature or problem you'd like to solve

Must currently use allow-all, or constantly respond to grant access to bash tools

### Proposed solution

It would be nice if in the config.json, we could configure a whitelist of bash tools to allow. Things such as grep, xargs, gradlew, etc., are fairly harmless and I would feel comfortable allowing these to always run. However, I would pretty much *never* use /allow-all due to the risk. I would also like this whitelist to persist across sessions.

### Example prompts or workflows

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.