registerTool
Register a LanguageModelTool. The tool must also be registered in the package.json languageModelTools
contribution point. A registered tool is available in the lm.tools list for any extension to see. But in order for it to be seen by a language model, it must be passed in the list of available tools in LanguageModelChatRequestOptions.tools.