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

Client capability flags for elicitation. More...

#include <capabilities.hpp>

Public Member Functions

bool enabled () const noexcept
 Returns true when any elicitation mode is supported.
 

Public Attributes

bool present = false
 Whether the elicitation capability family was explicitly advertised.
 
bool form = false
 Whether form-based elicitation/create requests are supported.
 
std::optional< bool > form_schema_validation
 Whether form elicitation can validate schemas locally.
 
bool url = false
 Whether URL-based elicitation requests are supported.
 
Json raw = Json::object()
 Raw capability object preserved for future fields.
 

Detailed Description

Client capability flags for elicitation.

Member Function Documentation

◆ enabled()

bool mcp::protocol::ElicitationCapabilities::enabled ( ) const
inlinenoexcept

Returns true when any elicitation mode is supported.

Returns
True if either form or url is enabled.

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