LLDB mainline
lldb_protocol::mcp::InitializeResult Struct Reference

After receiving an initialize request from the client, the server sends this response. More...

#include <Protocol.h>

Public Attributes

std::string protocolVersion
 The version of the Model Context Protocol that the server wants to use.
ServerCapabilities capabilities
Implementation serverInfo
std::string instructions = ""
 Instructions describing how to use the server and its features.

Detailed Description

After receiving an initialize request from the client, the server sends this response.

Definition at line 255 of file Protocol.h.

Member Data Documentation

◆ capabilities

ServerCapabilities lldb_protocol::mcp::InitializeResult::capabilities

◆ instructions

std::string lldb_protocol::mcp::InitializeResult::instructions = ""

Instructions describing how to use the server and its features.

This can be used by clients to improve the LLM's understanding of available tools, resources, etc. It can be thought of like a "hint" to the model. For example, this information MAY be added to the system prompt.

Definition at line 269 of file Protocol.h.

Referenced by lldb_protocol::mcp::fromJSON(), and lldb_protocol::mcp::toJSON().

◆ protocolVersion

std::string lldb_protocol::mcp::InitializeResult::protocolVersion

The version of the Model Context Protocol that the server wants to use.

This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect.

Definition at line 259 of file Protocol.h.

Referenced by lldb_protocol::mcp::fromJSON(), lldb_protocol::mcp::Server::InitializeHandler(), and lldb_protocol::mcp::toJSON().

◆ serverInfo

Implementation lldb_protocol::mcp::InitializeResult::serverInfo

The documentation for this struct was generated from the following file: