langchain/agents/agent.py/AgentExecutor/lookup_tool
class AgentExecutor:    def lookup_tool(self, name: str) -> BaseTool:
        """Lookup tool by name."""
        return {tool.name: tool for tool in self.tools}[name]