code: """Toolkit for the Wolfram Alpha API."""
  
  from typing import List
  
  from langchain.tools.base import BaseTool, BaseToolkit
  from langchain.tools.wolfram_alpha.tool import WolframAlphaQueryRun
  from langchain.utilities.wolfram_alpha import WolframAlphaAPIWrapper
  
  
  class WolframAlphaToolkit(BaseToolkit):
      """Tool that adds the capability to interact with Wolfram Alpha."""
  
      wolfram_alpha_appid: str
  
      def get_tools(self) -> List[BaseTool]:
          """Get the tools in the toolkit."""
          wrapper = WolframAlphaAPIWrapper(wolfram_alpha_appid=self.wolfram_alpha_appid)
          return [
              WolframAlphaQueryRun(
                  api_wrapper=wrapper,
              )
          ]
  
apis: langchain.utilities.wolfram_alpha.WolframAlphaAPIWrapper langchain.tools.wolfram_alpha.tool.WolframAlphaQueryRun
extract_api: [((509, 577), 'langchain.utilities.wolfram_alpha.WolframAlphaAPIWrapper', 'WolframAlphaAPIWrapper', ([], {'wolfram_alpha_appid': 'self.wolfram_alpha_appid'}), '(wolfram_alpha_appid=self.wolfram_alpha_appid)\n', (531, 577), False, 'from langchain.utilities.wolfram_alpha import WolframAlphaAPIWrapper\n'), ((607, 648), 'langchain.tools.wolfram_alpha.tool.WolframAlphaQueryRun', 'WolframAlphaQueryRun', ([], {'api_wrapper': 'wrapper'}), '(api_wrapper=wrapper)\n', (627, 648), False, 'from langchain.tools.wolfram_alpha.tool import WolframAlphaQueryRun\n')]