AllowList

data class AllowList(val toolNames: Set<String>) : ToolFilter

Selects the tools whose BaseTool.name is contained in toolNames.

Constructors

Link copied to clipboard
constructor(toolNames: Set<String>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun ToolFilter?.isToolSelected(tool: BaseTool, readonlyContext: ReadonlyContext? = null): Boolean

Returns whether tool is selected by this filter under readonlyContext.