LLDB mainline
lldb_private::mcp::CommandTool Class Reference

#include <Tool.h>

Inheritance diagram for lldb_private::mcp::CommandTool:
[legend]

Public Member Functions

 ~CommandTool ()=default
llvm::Expected< lldb_protocol::mcp::CallToolResultCall (const lldb_protocol::mcp::ToolArguments &args) override
std::optional< llvm::json::Value > GetSchema () const override
 Tool (std::string name, std::string description)
Public Member Functions inherited from lldb_protocol::mcp::Tool
 Tool (std::string name, std::string description)
virtual ~Tool ()=default
lldb_protocol::mcp::ToolDefinition GetDefinition () const
const std::string & GetName ()

Detailed Description

Definition at line 20 of file source/Plugins/Protocol/MCP/Tool.h.

Constructor & Destructor Documentation

◆ ~CommandTool()

lldb_private::mcp::CommandTool::~CommandTool ( )
default

Member Function Documentation

◆ Call()

◆ GetSchema()

std::optional< llvm::json::Value > CommandTool::GetSchema ( ) const
overridevirtual

Reimplemented from lldb_protocol::mcp::Tool.

Definition at line 81 of file Plugins/Protocol/MCP/Tool.cpp.

◆ Tool()

Tool::Tool ( std::string name,
std::string description )

Definition at line 21 of file Protocol/MCP/Tool.cpp.


The documentation for this class was generated from the following files: