`allowedTools` doesn't seem to show in `claude config ls`
Resolved 💬 4 comments Opened Mar 4, 2025 by max-sixty Closed Mar 5, 2025
I'm attempting to follow the instructions in the docs for allow-listing a tool
claude --version
0.2.30 (Claude Code)
claude config add allowedTools "Bash(npm test)"
...but then the config isn't there:
claude config ls
{
"dontCrawlDirectory": false,
"enableArchitectTool": "true",
"hasTrustDialogAccepted": true,
"hasCompletedProjectOnboarding": true,
"ignorePatterns": []
}
claude config get allowedTools
Error: 'allowedTools' is not a valid config key. Valid keys are: dontCrawlDirectory, enableArchitectTool, hasTrustDialogAccepted, hasCompletedProjectOnboarding, ignorePatterns
Am I making some very basic mistake?
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗