Package io.openliberty.mcp.annotations
@Version("1.0")
package io.openliberty.mcp.annotations
MCP tools, resources and prompts can be declared using the annotations in this package.
-
Annotation InterfacesClassDescriptionAnnotates a parameter of a method.Annotates a business method of a CDI bean as an exposed tool.Annotates a parameter of a
Toolmethod.Wraps a matching exception thrown from a "feature" method with an exception that represents a business logic error and is automatically converted to a failed response.