unfoldingByName

open fun unfoldingByName(name: String, description: String, toolNames: Set<String>, removeOnInvoke: Boolean): UnfoldingTool

Create an UnfoldingTool from MCP clients with an exact tool name whitelist.

Parameters

name

Name of the UnfoldingTool facade

description

Description explaining when to use this tool category

toolNames

Exact tool names to include

removeOnInvoke

Whether to remove the facade after invocation


open fun unfoldingByName(name: String, description: String, toolNames: Set<String>): UnfoldingTool

Create an UnfoldingTool from MCP clients with an exact tool name whitelist, with removeOnInvoke=true.