matryoshkaByName

fun matryoshkaByName(name: String, description: String, toolNames: Set<String>, removeOnInvoke: Boolean = true): MatryoshkaTool

Create a MatryoshkaTool from MCP clients with an exact tool name whitelist.

Parameters

name

Name of the MatryoshkaTool facade

description

Description explaining when to use this tool category

toolNames

Exact tool names to include

removeOnInvoke

Whether to remove the facade after invocation (default true)