Lenis API Reference
lenis_get_api_referenceQuery Lenis API documentation for settings, methods, events, and properties with optional category and search filters.
Instructions
Queries the complete Lenis API documentation — settings, methods, events, and properties.
Supports filtering by category and search term for targeted lookups.
Args:
category ('settings' | 'properties' | 'methods' | 'events' | 'all'): Filter by API category (default: 'all')
search (string): Optional search term to filter results
Returns: Formatted API documentation with types, defaults, and descriptions.
Examples:
"What is the lerp setting?" → category: 'settings', search: 'lerp'
"List all methods" → category: 'methods'
"How do events work?" → category: 'events'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Search term to filter results (e.g., 'lerp', 'scrollTo', 'wheel') | |
| category | No | API category to query: settings, properties, methods, events, or all | all |