API Reference > imodeljs-frontend > Tools > Tool > parseAndRun parseAndRun Method Beta Run this instance of a tool using a series of string arguments. Override this method to parse the arguments, and if they're acceptable, execute your Tool.run method. If the arguments aren't valid, return false. parseAndRun(..._args: string[]): boolean note if you override this method, you must also override the static Tool.minArgs and Tool.maxArgs getters. note Generally, implementers of this method are not expected to call super.parseAndRun(...). Instead, call your Tool.run method with the appropriate (parsed) arguments directly. Parameter Type Description ..._args string[] Returns - boolean Defined in core/frontend/src/tools/Tool.ts Line 441 Last Updated: 13 June, 2024