Implement proper MCP tool naming convention based on hierarchy level
- Add level parameter to processScreenWithSubscreens function - Use dot (.) only for first level subscreens (level == 1) - Use underscore (_) for all deeper levels (level > 1) - Preserves full hierarchy path in parentToolName parameter - Results in correct naming: Catalog.Product, Catalog_Product_FindProduct, Catalog_Product_Content_ContentCompare - Tool execution works with proper screen path resolution
Showing
1 changed file
with
7 additions
and
24 deletions
-
Please register or sign in to post a comment