Interface McpToolExecutor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for MCP tool execution.
MCP tools execute with a context and parameters, returning a string result that is fed back to the LLM.
- See Also:
-
Method Summary
-
Method Details
-
execute
Execute the tool.- Parameters:
context- the tool execution context (guild, user, channel info)parameters- the tool parameters provided by the LLM- Returns:
- the tool's result as a string
-