Module macros

Module macros 

Source
Expand description

§Declarative Macros for MCP Tool Generation

§Usage

impl_mcp_tool! {
    name = "example_tool",
    description = "An example tool for documentation",
    struct ExampleArgs {
        name: String {
            description = "The name parameter"
        },
        content: String {
            description = "Content with minimum length validation",
            min_length = 100
        }
    }
}