---
title: allowed
framework: foundationmodels
role: symbol
role_heading: Type Property
path: foundationmodels/generationoptions/toolcallingmode-swift.struct/allowed
---

# allowed

The model may or may not call tools.

## Declaration

```swift
static let allowed: GenerationOptions.ToolCallingMode
```

## Mentioned in

Expanding generation with tool calling

## Discussion

Discussion This is the default.

## See Also

### Getting the tool calling modes

- [disallowed](foundationmodels/generationoptions/toolcallingmode-swift.struct/disallowed.md)
- [required](foundationmodels/generationoptions/toolcallingmode-swift.struct/required.md)
