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

Capability flags for asynchronous task support. More...

#include <capabilities.hpp>

Public Attributes

bool list = false
 Whether tasks/list is supported.
 
bool cancel = false
 Whether tasks/cancel is supported.
 
bool tools_call = false
 Whether tools/call requests may include task parameters.
 
bool sampling_create_message = false
 Whether sampling/createMessage requests may include task parameters.
 
bool elicitation_create = false
 Whether elicitation/create requests may include task parameters.
 
Json raw = Json::object()
 Raw capability object preserved for future fields.
 

Detailed Description

Capability flags for asynchronous task support.

Task capabilities describe both the task management methods a peer supports and which feature requests can opt into task creation.


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