getItemDefForTool MethodStatic

Deprecated  in 4.15.0. Use createForTool instead.

Create a ToolItemDef that will run a registered tool.

getItemDefForTool(tool: Tool, icon?: string, ...args: any[]): ToolItemDef

Parameter Type Description
tool Tool  
icon string  
...args any[]  

Returns - ToolItemDef

Defined in

Last Updated: 01 August, 2025