Documentation
¶
Overview ¶
Package schema provides utilities for generating MCP tool input schemas from Go structs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromStruct ¶
func FromStruct(v interface{}) protocol.ToolInputSchema
FromStruct generates a protocol.ToolInputSchema from struct tags. It examines the struct fields and their tags to create a schema that describes the expected input format for an MCP tool.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.