unfolding
abstract fun unfolding(name: String, description: String, filter: (<Error class: unknown class>) -> Boolean, removeOnInvoke: Boolean): UnfoldingTool
Create an UnfoldingTool from MCP clients with a filter predicate.
Parameters
name
Name of the UnfoldingTool facade
description
Description explaining when to use this tool category
filter
Predicate that returns true to include a tool
remove On Invoke
Whether to remove the facade after invocation
open fun unfolding(name: String, description: String, filter: (<Error class: unknown class>) -> Boolean): UnfoldingTool
Create an UnfoldingTool from MCP clients with a filter predicate, with removeOnInvoke=true.