Annotation Interface McpTool


Applies to methods that expose an MCP tool.
Author:
Mark Allen
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Declares the human-readable tool description.
    Declares the MCP tool name.
  • Element Details

    • name

      Declares the MCP tool name.
      Returns:
      the tool name exposed to clients
    • description

      Declares the human-readable tool description.
      Returns:
      the tool description