Tool Permission Handling Improvements #
Enhanced CLI Tool Filtering
The permission system for CLI tools has been improved with better parsing of allowed and disallowed tool arguments:
- New comma-separated tool parsing: The
--allowed-toolsand--disallowed-toolsCLI arguments now support comma-separated values for specifying multiple tools in a single argument
Example usage
# Allow multiple tools with comma separation
claude-code --allowed-tools "Read,Write,Edit"
# Disallow specific tools
claude-code --disallowed-tools "Bash,WebSearch"
# Can still use multiple arguments
claude-code --allowed-tools Read --allowed-tools Write
- Improved tool name parsing: Tool names are now properly trimmed of whitespace and empty values are filtered out, making the tool specification more robust