|
cxxmcp 1.1.6
C++ MCP SDK
|
Primitive string enum property schema for form elicitation. More...
#include <elicitation.hpp>
Public Attributes | |
| std::optional< std::string > | title |
| Optional display title. | |
| std::optional< std::string > | description |
| Optional display description. | |
| std::vector< std::string > | values |
| Allowed string values. | |
| std::vector< std::string > | enum_names |
Optional display names for legacy enumNames. | |
| std::vector< std::string > | value_titles |
Optional titles for RMCP/spec oneOf/anyOf enum entries. | |
| bool | titled_single_select = false |
Whether to serialize a single-select enum as titled oneOf. | |
| bool | multi_select = false |
| Whether this enum is represented as an array multi-select. | |
| std::optional< std::int64_t > | min_items |
| Optional minimum number of selected items for multi-select. | |
| std::optional< std::int64_t > | max_items |
| Optional maximum number of selected items for multi-select. | |
| std::optional< std::string > | default_value |
| Optional default enum value. | |
| std::vector< std::string > | default_values |
| Optional default enum values for multi-select. | |
| Json | extensions = Json::object() |
| Unknown JSON members preserved for forward-compatible round trips. | |
Primitive string enum property schema for form elicitation.