Annotation Interface McpJsonSchemaDefinition


@Target(TYPE) @Retention(RUNTIME) public @interface McpJsonSchemaDefinition
This annotation is used to define the complex JSON schema type (such as custom Java data classes) for an MCP (Model Context Protocol) server.

By using this annotation, you can define custom JSON schema types that are not natively supported by the MCP protocol. This allows you to use more complex data models in your MCP server.

Author:
codeboyzhou
See Also: