---
title: "Guide(description:)"
framework: foundationmodels
role: symbol
role_heading: Macro
path: "foundationmodels/guide(description:)"
---

# Guide(description:)

Allows for influencing the allowed values of properties of a generable type.

## Declaration

```swift
@attached(peer) macro Guide(description: String)
```

## Mentioned in

Generating Swift data structures with guided generation

## See Also

### Creating a guide

- [Guide(description:_:)](foundationmodels/guide(description:_:).md)
- [GenerationGuide](foundationmodels/generationguide.md)
