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

User-side result for a prior sampling tool call. More...

#include <sampling.hpp>

Public Attributes

std::string tool_use_id
 Id of the corresponding tool use.
 
std::vector< ContentBlockcontent
 Tool-visible content blocks returned by the tool.
 
std::optional< Jsonstructured_content
 Optional structured result object.
 
std::optional< bool > is_error
 Optional error marker for failed tool execution.
 
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

User-side result for a prior sampling tool call.


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