---
title: "init(_:)"
framework: foundationmodels
role: symbol
role_heading: Initializer
path: "foundationmodels/anytool/init(_:)"
---

# init(_:)

Creates a tool that wraps the given tool.

## Declaration

```swift
init(_ tool: some Tool)
```

## Parameters

- `tool`: The tool to wrap.
