You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dev-itpro/developer/al-agent-tools/al-agent-tools-overview.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,15 @@ AI agent tools enable GitHub Copilot and any Model Context Protocol (MCP)-compat
19
19
> [!TIP]
20
20
> These tools are specific to AI agents in Visual Studio Code and are different from the [ALTool command-line tool](../devenv-al-tool.md), which is used for compiling and packaging AL extensions in CI/CD pipelines.
21
21
22
-
These tools are designed for two usage surfaces that share a consistent set of tool names and behaviors:
22
+
These tools are designed for three usage surfaces:
23
23
24
24
| Surface | Description | Best for |
25
25
|---------|-------------|----------|
26
26
|**Visual Studio Code Language Model Tools**| Tools registered with the Visual Studio Code Language Model Tools API, available to GitHub Copilot in Agent mode and any Copilot-compatible extension | Developers working interactively in Visual Studio Code |
27
27
|**AL MCP Server**| A standalone Model Context Protocol server (`altool launchmcpserver`) that exposes AL tools over STDIO or HTTP | Headless environments, CI/CD pipelines, AI agents that run outside Visual Studio Code |
28
+
|**AL LSP Server**| A Language Server Protocol server (`altool launchlspserver`) that provides semantic code intelligence over JSON-RPC on stdio | Agents and editors that need continuous code navigation—go-to-definition, find-references, completions, rename, and type hierarchy across multi-project workspaces |
28
29
29
-
Because both surfaces use the same tool names, an agent trained on one surface can work with the other with no retraining.
30
+
The MCP and Visual Studio Code tools share a consistent set of tool names, so an agent trained on one surface can work with the other with no retraining. The AL LSP Server complements them by providing deep semantic understanding of the codebase rather than discrete task execution. Learn more in [AL LSP](../devenv-al-tool.md#al-lsp).
30
31
31
32
## Available tools
32
33
@@ -119,6 +120,14 @@ Authentication tokens are never passed as tool parameters or returned in tool re
119
120
120
121
To force re-authentication, set `noCache: true` on any tool that supports it, or call `al_auth_logout` first.
121
122
123
+
## AL LSP for semantic code intelligence
124
+
125
+
In addition to the task-oriented tools listed above, ALTool can launch a full Language Server Protocol (LSP) server via the `launchlspserver` command. While the MCP tools perform discrete actions (build, publish, search), the LSP server provides continuous semantic code intelligence—hover, go-to-definition, find-references, completions, rename, and type hierarchy—over JSON-RPC on stdio.
126
+
127
+
The AL LSP server is the best choice when an agent needs to navigate and understand AL code structurally rather than perform predefined tasks. It correctly resolves cross-project relationships such as `internalsVisibleTo` and `propagateDependencies`, making it more reliable than text-based search for symbol resolution in multi-project workspaces.
128
+
129
+
Learn more in [AL LSP](../devenv-al-tool.md#al-lsp).
130
+
122
131
## Related information
123
132
124
133
[AL Language Model Tools for Visual Studio Code](al-language-model-tools-vscode.md)
|`launchmcpserver`| Launches an AL Model Context Protocol (MCP) server. Learn more in [ALMCP](devenv-al-tool.md#almcp)|
47
+
|`launchmcpserver`| Launches an AL Model Context Protocol (MCP) server. Learn more in [ALMCP](devenv-al-tool.md#almcp). |
48
+
|`launchlspserver`| Launches an AL Language Server Protocol (LSP) server for autonomous AI agents and editors. Learn more in [AL LSP](devenv-al-tool.md#al-lsp). |
48
49
|`GetPackageManifest`| Retrieve the manifest from a `.app` file. |
49
50
|`CreateSymbolPackage`| Create a symbol-only package from a `.app` file. |
50
51
|`GetLatestSupportedRuntimeVersion`| Get the latest supported AL runtime version for a platform version. |
Copy file name to clipboardExpand all lines: dev-itpro/developer/devenv-dev-productivity-tips.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,12 @@ Hold <kbd>Alt</kbd> and click in multiple places to add cursors, allowing you to
64
64
65
65
Check the **Problems** panel (<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>M</kbd>) to see all warnings and errors in your workspace at a glance.
66
66
67
+
## AI agent workflows
68
+
69
+
For developers adopting AI agents to navigate, refactor, or build AL code, ALTool provides a headless Language Server Protocol (LSP) server that gives agents the same semantic code intelligence available in Visual Studio Code—go-to-definition, find-references, completions, and rename across multi-project workspaces. Learn more in [AL LSP](devenv-al-tool.md#al-lsp).
70
+
67
71
## Related information
68
72
69
73
[JSON files](devenv-json-files.md)
70
74
[Launch JSON file](devenv-json-launch-file.md)
75
+
[AI agent tools for AL development](al-agent-tools/al-agent-tools-overview.md)
0 commit comments