# Interface Tool

All Known Subinterfaces:
  `PreprocessingTool`

@Incubating @Deprecated public interface Tool
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.

Since:
  2.2

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `args(String... args)`
  Deprecated.
  Adds a number of arguments to be passed to the tool.
  `List<String>`
  `getArgs()`
  Deprecated.
  The arguments passed when executing this tool.

- ## Method Details

  - ### getArgs

    List<String> getArgs()
    Deprecated.
    The arguments passed when executing this tool.
    Since:
      2.2

  - ### args

    void args(String... args)
    Deprecated.
    Adds a number of arguments to be passed to the tool.
    Since:
      2.2