generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 295
Closed
Description
Checks
- I have searched github.com/aws/amazon-q-developer-cli/issues and there are no duplicates of my issue
- I have run
q doctor
in the affected terminal session - I have run
q restart
and replicated the issue again
Operating system
macOS 15.6.0 (24G84)
Expected behaviour
/tools should list the available tools.
the prompt "using execute_bash run "cargo -v" should run cargo -v
Actual behaviour

/tools is empty
q dont run my command
Steps to reproduce
here my agent config file :
❯ cat ~/.aws/amazonq/cli-agents/test_execute_bash_allowed.json
{
"$schema": "https://raw.githubusercontent.com/aws/amazon-q-developer-cli/refs/heads/main/schemas/agent-v1.json",
"name": "test_execute_bash_allowed",
"description": "",
"allowedTools": [
"fs_read", "execute_bash"
],
"toolsSettings": {
"execute_bash": {
"deniedCommands": ["touch .*"],
"allowReadOnly": true
}
}
}
Environment
<This will be visible to anyone. Do not include personal or sensitive information>
[q-details]
version = "1.14.0"
hash = "c67e487d5e31d50590e8e2e416af4d73b1070168"
date = "2025-08-15T19:11:26.645417Z (3d ago)"
variant = "full"
[system-info]
os = "macOS 15.6.0 (24G84)"
chip = "Apple M3 Pro"
total-cores = 11
memory = "18.00 GB"
[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "iTerm 2"
install-method = "unknown"
[env-vars]
PATH = "/opt/homebrew/opt/libpq/bin:/Users/USER/bin:/Users/USER/.cache/zsh4humans/v5/zsh4humans/zb:/Users/USER/.local/bin:/Users/USER/.cargo/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/sbin:/System/Cryptexes/App/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Applications/iTerm.app/Contents/Resources/utilities:/Users/USER/.cache/zsh4humans/v5/fzf/bin"
QTERM_SESSION_ID = "7c88e47111b245758f88d6e3a604c0c2"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.13.3"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.googlecode.iterm2"
Metadata
Metadata
Assignees
Labels
No labels