| name | swiftdata |
| user-invocable | true |
| description | API reference: SwiftData. Query for @Model, ModelContext, @Query, schema migrations. |
| context | fork |
| agent | Explore |
SwiftData Documentation
Search these docs to answer questions about SwiftData APIs.
Return Format
Always include:
- Summary - Answer the question concisely
- File paths - List relevant files for full details, e.g.:
swiftdata-model.md for @Model macro
swiftdata-query.md for @Query usage
Files
swiftdata-index.md - Framework overview and all available APIs
swiftdata-model.md - @Model macro and model definition
swiftdata-modelcontext.md - ModelContext for CRUD operations
swiftdata-query.md - @Query property wrapper for fetching data