Package org.eclipse.mcp
Interface IMCPTool
public interface IMCPTool
An MCP tool is an exported function that and LLM-powered Agent can invoke
MCP Tools are declared in extension point
org.eclipse.mcp.modelContextProtocolServer
The class attribute of a tool
must be an instance of org.eclipse.mcp.IMCPTool
-
Method Summary
-
Method Details
-
apply
Executes the MCP Tool- Parameters:
args
- A map of input parameters sent to this function matching the tool's declared input JSON schemaproperties
- utility to fetch and prompt for user customized preference values- Returns:
- An array of strings representing the result of the tool execution.
-