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

Argument accepted by a prompt template. More...

#include <prompt.hpp>

Public Attributes

std::string title
 Optional human-readable display title.
 
std::string name
 Stable argument name used as a key in prompts/get arguments.
 
std::string description
 Optional human-readable description.
 
bool required = false
 Whether the caller must provide this argument.
 
bool required_present = false
 Whether required was explicitly present on the wire or configured.
 
Json annotations = Json::object()
 Optional annotations for model or client presentation.
 
std::optional< Jsonmeta
 Optional _meta extension object preserved on the wire.
 
Json extensions = Json::object()
 Unknown JSON members preserved for forward-compatible round trips.
 

Detailed Description

Argument accepted by a prompt template.


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