[Lldb-commits] [lldb] [lldb] Adding structured types for existing MCP calls. (PR #155460)
John Harrison via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 26 14:40:00 PDT 2025
================
@@ -198,12 +207,165 @@ struct ToolDefinition {
// JSON Schema for the tool's parameters.
std::optional<llvm::json::Value> inputSchema;
};
-
llvm::json::Value toJSON(const ToolDefinition &);
bool fromJSON(const llvm::json::Value &, ToolDefinition &, llvm::json::Path);
using ToolArguments = std::variant<std::monostate, llvm::json::Value>;
+/// Describes the name and version of an MCP implementation, with an optional
+/// title for UI representation.
+///
+/// see
----------------
ashgti wrote:
Done, dropped all the 'see' commands.
https://github.com/llvm/llvm-project/pull/155460
More information about the lldb-commits
mailing list