Class ToolsAdd

java.lang.Object
ai.wanaku.cli.main.commands.BaseCommand
ai.wanaku.cli.main.commands.tools.ToolsAdd
All Implemented Interfaces:
Callable<Integer>

public class ToolsAdd extends BaseCommand
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.