Class ResourcesExpose

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

public class ResourcesExpose extends BaseCommand
Command to expose a new resource in the Wanaku platform.

This command registers a resource with specified configuration including:

  • Resource metadata (name, namespace, description, location, type)
  • MIME type for content identification
  • Parameters for resource-specific configuration
  • Configuration data from external files
  • Secrets data for secure credential storage
  • Labels for organization and filtering

Resources represent data sources, APIs, or other external systems that can be accessed by AI agents during tool execution.