Documentation
¶
Overview ¶
Package schema converts protobuf message descriptors into JSON Schema (2020-12) representations suitable for MCP tool InputSchema and OutputSchema fields.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromMessage ¶
func FromMessage(md protoreflect.MessageDescriptor) map[string]any
FromMessage converts a protobuf message descriptor into a JSON Schema map. The returned map is suitable for use as InputSchema or OutputSchema in MCP tool definitions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.