---
title: toolName
framework: foundationmodels
role: symbol
role_heading: Instance Property
path: foundationmodels/transcript/toolcall/toolname
---

# toolName

The name of the tool being invoked.

## Declaration

```swift
var toolName: String
```

## See Also

### Inspecting a tool call

- [arguments](foundationmodels/transcript/toolcall/arguments.md)
- [metadata](foundationmodels/transcript/toolcall/metadata.md)
