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:
-
ClassDescriptionMarks a method as an MCP tool that can be invoked by clients.Nested annotation for tool behavioral hints.Configures a parameter of a
Toolmethod.The response to a tool callBuilder for creating tool responses