How API Calls Are Built?
All resources are statically defined at compile time using a macro system. This ensures consistency and prevents runtime errors.CLI
Thecube binary dynamically generates API calls at runtime. It abstracts complex API interactions into intuitive commands. For example, executing the following command:
GET /api/AccessControl/AccessControlEntry
MCP Server: Dynamic Tool Generation
Thecube-mcp crate dynamically generates tools at runtime based on the Resource registry.