tool listing is static
Author: bukzorCreated Jan 29, 2025Updated Jan 29, 2025
I set TOOLS_DIR to an empty "no-tools" directory, thinking that this would disable tool usage, but to my surprise, Claude continued to use the (now non-existent) tools. I tracked this down to the fact that claude-engineer is told about its tools in a static system prompt:
prompts/system_prompts.py
TOOL_USAGE = """
...
7. Available tools and their use cases
- BrowserTool: Opens URLs in system's default browser
- CreateFoldersTool: Creates new folders and nested directories
- DiffEditorTool: Performs precise text replacements in filesce3.py
system=f"{SystemPrompts.DEFAULT}\n\n{SystemPrompts.TOOL_USAGE}"I think the system would be better off with a singular "list-tools" tool installed, statically, along with some guidance when to use it.
Source: Doriandarko/claude-engineer