cxxmcp 1.1.6
C++ MCP SDK
Loading...
Searching...
No Matches
mcp::protocol::CompletionReference Struct Reference

Reference to the prompt or resource template being completed. More...

#include <completion.hpp>

Public Attributes

std::string type
 Reference kind, for example a prompt or resource-template reference.
 
std::string name
 Name of the referenced prompt.
 
std::optional< std::string > uri
 URI of the referenced resource or resource template.
 
std::string title
 Optional human-readable reference title.
 
Json extensions = Json::object()
 Unknown JSON members preserved for forward-compatible round trips.
 

Detailed Description

Reference to the prompt or resource template being completed.

Member Data Documentation

◆ name

std::string mcp::protocol::CompletionReference::name

Name of the referenced prompt.

Kept for prompt references and older resource-reference callers.


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