Package org.mcpjava.server.tools


package org.mcpjava.server.tools
Define MCP tools.

Tools are executable functions that can be invoked by MCP clients. Use @Tool to mark methods as tools and @ToolArg to configure their parameters.

ToolResponses can be returned from @Tool-annotated methods.

See Also:
  • Class
    Description
    Marks a method as an MCP tool that can be invoked by clients.
    Nested annotation for tool behavioral hints.
    Configures a parameter of a Tool method.
    The response to a tool call
    Builder for creating tool responses