LLDB mainline
lldb_protocol::mcp::Implementation Struct Reference

Describes the name and version of an MCP implementation, with an optional title for UI representation. More...

#include <Protocol.h>

Public Attributes

std::string name
 Intended for programmatic or logical use, but used as a display name in past specs or fallback (if title isn’t present).
std::string version
std::string title = ""
 Intended for UI and end-user contexts — optimized to be human-readable and easily understood, even by those unfamiliar with domain-specific terminology.

Detailed Description

Describes the name and version of an MCP implementation, with an optional title for UI representation.

Definition at line 194 of file Protocol.h.

Member Data Documentation

◆ name

std::string lldb_protocol::mcp::Implementation::name

Intended for programmatic or logical use, but used as a display name in past specs or fallback (if title isn’t present).

Definition at line 197 of file Protocol.h.

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

◆ title

std::string lldb_protocol::mcp::Implementation::title = ""

Intended for UI and end-user contexts — optimized to be human-readable and easily understood, even by those unfamiliar with domain-specific terminology.

If not provided, the name should be used for display (except for Tool, where annotations.title should be given precedence over using name, if present).

Definition at line 208 of file Protocol.h.

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

◆ version

std::string lldb_protocol::mcp::Implementation::version

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