![]() |
boost::taar::mcp::completion_request — What a completion/complete request asks for.
// In header: <boost/taar/mcp/endpoint.hpp>
struct completion_request {
// public data members
std::string ref_type; // "ref/prompt" or "ref/resource".
std::string ref; // Prompt name or resource URI template.
std::string argument; // The argument being completed.
std::string value; // What the user typed so far.
boost::json::object context; // params.context.arguments: other arguments already filled in.
};