[Lldb-commits] [lldb] [lldb-dap] Add language model tool (PR #174343)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 6 09:59:48 PST 2026


================
@@ -946,6 +946,26 @@
           "icon": "$(symbol-module)"
         }
       ]
-    }
+    },
+    "languageModelTools": [
+			{
+				"name": "lldb_dap_command",
+				"displayName": "Run an lldb command.",
+				"modelDescription": "Run an lldb command.",
+				"canBeReferencedInPrompt": true,
+				"toolReferenceName": "lldb_dap_command",
----------------
ashgti wrote:

Should this be shortened? This is for allowing users to invoke this with a `#` like `#lldb_dap_command e 1 + 2`.

We could shorten this to `lldb` or `lldb_eval`

https://github.com/llvm/llvm-project/pull/174343


More information about the lldb-commits mailing list