---
title: name
framework: foundationmodels
role: symbol
role_heading: Instance Property
path: foundationmodels/tool/name
---

# name

A unique name for the tool, such as “get_weather”, “toggleDarkMode”, or “search contacts”.

## Declaration

```swift
var name: String { get }
```

## See Also

### Inspecting a tool

- [description](foundationmodels/tool/description.md)
- [parameters](foundationmodels/tool/parameters.md)
- [includesSchemaInInstructions](foundationmodels/tool/includesschemaininstructions.md)
- [Tool.SessionProperty](foundationmodels/tool/sessionproperty.md)
