API Reference
Complete API reference for fm.cr
Complete API documentation for all fm.cr classes, modules, and types.
In This Section
SystemLanguageModel
The on-device language model interface
Session
Conversation session management
Generable & Guide
Type-safe structured output with schema generation
GenerationOptions
Control generation parameters
Tools
Tool calling API reference
Context
Context window management and session compaction
Errors
Error types and exception handling