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'
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lenis_get_api_reference"
}
}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 |