9#ifndef LLDB_PROTOCOL_MCP_TOOL_H
10#define LLDB_PROTOCOL_MCP_TOOL_H
13#include "llvm/Support/Error.h"
14#include "llvm/Support/JSON.h"
21 Tool(std::string name, std::string description);
24 virtual llvm::Expected<lldb_protocol::mcp::CallToolResult>
27 virtual std::optional<llvm::json::Value>
GetSchema()
const {
28 return llvm::json::Object{{
"type",
"object"}};
std::variant< std::monostate, llvm::json::Value > ToolArguments