Type Class Reference

#include <Pt/Mcp/Type.h>

JSON Schema type descriptor for MCP tool parameters.

Inherits NonCopyable.

Inherited by ArrayType, EnumType, NullableType, and ObjectType.

Public Member Functions

virtual void toSchema (std::ostream &os, const std::string &description="") const
 Writes the JSON Schema representation to the stream.