cxxmcp 1.3.0
C++ MCP SDK
Loading...
Searching...
No Matches
mcp::protocol::ObjectSchemaBuilder Class Reference

Fluent object-schema builder for tool input and output schemas. More...

#include <schema.hpp>

Public Member Functions

ObjectSchemaBuilder & title (std::string value)
 
ObjectSchemaBuilder & description (std::string value)
 
ObjectSchemaBuilder & property (std::string name, Json schema)
 
ObjectSchemaBuilder & optional_property (std::string name, Json schema)
 
ObjectSchemaBuilder & required (std::string name)
 
ObjectSchemaBuilder & required_property (std::string name, Json schema)
 
ObjectSchemaBuilder & additional_properties (bool value)
 
Json build () const &
 
Json build () &&
 

Detailed Description

Fluent object-schema builder for tool input and output schemas.


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