diff --git a/src/strands/tools/registry.py b/src/strands/tools/registry.py index 0660337a2..899f6af6c 100644 --- a/src/strands/tools/registry.py +++ b/src/strands/tools/registry.py @@ -202,7 +202,7 @@ def register_tool(self, tool: AgentTool) -> None: matching_tools = [ tool_name - for (tool_name, tool) in self.registry.items() + for (tool_name, _) in self.registry.items() if tool_name.replace("-", "_") == normalized_name ]