Integrate Templates with Client API Workflow
Objective
Enhance client-facing API to expose route templates, enabling LLMs to discover and use pre-generated templates when constructing integration workflows.
Dependencies
Requirements
- Expose template discovery endpoint for clients
- Implement template search/filter capabilities (by labels, keywords, use case)
- Provide template metadata in API responses
- Design workflow for template instantiation
- Create template parameter documentation endpoint
- Integrate template retrieval into existing service resolution flow
- Support template recommendation based on context
Affected Files/Modules
/backend/router/src/main/java/ai/wanaku/router/api/ (client-facing endpoints)
/backend/router/src/main/java/ai/wanaku/router/service/ServiceResolver.java (template integration)
/wanaku-capabilities-java-sdk/capabilities-services-client/ (SDK client updates for template APIs)
Notes
LLMs should receive templates as part of available capabilities/options when planning integrations. Consider providing template examples and documentation in API responses. Template discovery should be efficient - use indexing/caching if needed. Integration with ServiceResolver enables template-aware service composition.
Integrate Templates with Client API Workflow
Objective
Enhance client-facing API to expose route templates, enabling LLMs to discover and use pre-generated templates when constructing integration workflows.
Dependencies
Requirements
Affected Files/Modules
/backend/router/src/main/java/ai/wanaku/router/api/(client-facing endpoints)/backend/router/src/main/java/ai/wanaku/router/service/ServiceResolver.java(template integration)/wanaku-capabilities-java-sdk/capabilities-services-client/(SDK client updates for template APIs)Notes
LLMs should receive templates as part of available capabilities/options when planning integrations. Consider providing template examples and documentation in API responses. Template discovery should be efficient - use indexing/caching if needed. Integration with ServiceResolver enables template-aware service composition.