gemma-4-tools — LM Studio Plugin
File editing and code search tools for Gemma 4 12b-QAT in LM Studio.
Tools
| Tool | Description |
|---|
read_file | Read file contents (max 100KB) |
write_file | Write/overwrite files with auto-creating parent dirs |
list_directory | List files and directories |
search_files | Recursively find files by extension |
Security
All tools enforce path-safety checks:
- Access is restricted to within the working directory
- System directories (Windows, /etc, /proc, etc.) are blocked
- File size limits prevent resource exhaustion
See gemma4-security-test-plan.md for the full test plan.
Development
# Start the dev server (auto-reloads on changes)
lms dev
# Type-check
npx tsc --noEmit