VS Code introduced a Language Model Tools API (vscode.lm.tools) that allows extensions to expose tools to AI agents through a standardized languageModelTools contribution point in their package.json.