of

fun of(name: String, description: String, innerTools: List<Tool>, removeOnInvoke: Boolean = true): MatryoshkaTool

Create a MatryoshkaTool that exposes all inner tools when invoked.

Parameters

name

Unique name for the tool

description

Description explaining when to use this tool category

innerTools

The tools to expose when invoked

removeOnInvoke

Whether to remove this tool after invocation (default true)