axiom-foundation-models-ref - Foundation Models framework API reference
Provides API reference and implementation examples for Apple's on-device Foundation Models framework, including sessions, structured output, tools, and streaming.
Tags
Updated: 2026-11-25Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Explain LanguageModelSession usage
- Generate structured model output
- Define Generable schemas
- Apply Guide constraints
- Configure generation options
- Manage conversation transcripts
- Describe tool integration
- Provide Swift code examples
Inputs
- Foundation Models implementation questions
- Swift project context
- User prompts
- Model instructions
- Generation options
- Generable type definitions
Outputs
- API explanations
- Swift code examples
- Implementation guidance
- Structured model responses
- Conversation transcript data
Requirements
- Swift development environment
- FoundationModels framework
- iOS 26 or later, macOS 26 or later, or iPadOS 26 or later
- Supported Apple on-device language model
