# Tool

@Incubating
interface Tool(source)

### Deprecated

The Gradle software model is deprecated and will be removed in Gradle 10. Use the new component model (e.g. `cpp-application`, `cpp-library`, `swift-application`, `swift-library`, `xctest`) instead.

Configuration of the arguments of a ToolChain executable.

#### Inheritors

PreprocessingTool

## Functions

args
Link copied to clipboard
abstract fun args(args: Array<String>)
Adds a number of arguments to be passed to the tool.
getArgs
Link copied to clipboard
abstract fun getArgs(): List<String>
The arguments passed when executing this tool.