Class ToolsAdd
java.lang.Object
ai.wanaku.cli.main.commands.BaseCommand
ai.wanaku.cli.main.commands.tools.ToolsAdd
Command to add a new tool to the Wanaku platform.
This command registers a new tool with specified configuration including:
- Tool metadata (name, namespace, description, URI, type)
- Input schema definition with properties and required fields
- Configuration data from external files
- Secrets data for secure credential storage
- Labels for organization and filtering
The command validates that a downstream service capable of handling the specified tool type exists before registration.
-
Field Summary
FieldsFields inherited from class ai.wanaku.cli.main.commands.BaseCommand
authTokenOverride, EXIT_ERROR, EXIT_OK, noAuth -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCall(org.jline.terminal.Terminal terminal, WanakuPrinter printer) Methods inherited from class ai.wanaku.cli.main.commands.BaseCommand
call, initAuthenticatedService, initService, initService
-
Field Details
-
host
-
-
Constructor Details
-
ToolsAdd
public ToolsAdd()
-
-
Method Details
-
doCall
- Specified by:
doCallin classBaseCommand- Throws:
Exception
-