Class MCreatorMcpTool<T>
java.lang.Object
net.mcreator.io.mcp.tool.McpTool<T>
net.mcreator.ui.mcp.MCreatorMcpTool<T>
- All Implemented Interfaces:
IMcpTool
- Direct Known Subclasses:
BlocklyBlocksTool, BlocklyTemplatesTool, BlocklyTriggersTool, BuildTool, CreateArmorTextureTool, CreateTextureTool, CurrentTabTool, DataListTool, FindReferencesTool, HelpTipsTool, ModElementSchemaTool, ModElementTool, PackMakerTool, ProjectFileEditTool, ProjectFilesTool, QueryWorkspaceTool, ReadClassSourceTool, ReadConsoleTool, TagTool, VariableTool
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMCreatorMcpTool(Supplier<MCreator> currentMCreator, Class<T> inputType) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract CompletableFuture<ToolResult> protected CompletableFuture<ToolResult> Handles a tool invocation with deserialized, typed arguments.protected Booleanprotected BooleanMethods inherited from class McpTool
completed, completedError, completedError, completedObject, completedText, getInputType, getOutputType, invokeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IMcpTool
getDescription, getName
-
Constructor Details
-
MCreatorMcpTool
-
-
Method Details
-
getAnnotations
- Specified by:
getAnnotationsin interfaceIMcpTool- Overrides:
getAnnotationsin classMcpTool<T>
-
call
Description copied from class:McpToolHandles a tool invocation with deserialized, typed arguments. -
call
- Throws:
Exception
-
getReadOnlyHint
-
getDestructiveHint
-