by Category
open fun byCategory(name: String, description: String, toolsByCategory: Map<String, List<Tool>>, categoryParameter: String = "category", removeOnInvoke: Boolean = true, childToolUsageNotes: String? = null): UnfoldingTool
Create an UnfoldingTool with category-based selection.
Parameters
name
Unique name for the tool
description
Description explaining when to use this tool category
tools By Category
Map of category names to their tools
category Parameter
Name of the category parameter (default "category")
remove On Invoke
Whether to remove this tool after invocation
child Tool Usage Notes
Optional notes to guide LLM on using the child tools