Debug Lenis Scroll Issue
lenis_debug_scroll_issueDiagnose Lenis smooth scroll problems by describing symptoms, framework, and GSAP usage for step-by-step fixes.
Instructions
Diagnoses Lenis smooth scroll issues based on symptom descriptions.
Matches symptoms against known limitations, common pitfalls, and troubleshooting patterns from the official Lenis documentation.
Args:
symptom (string): Description of the scroll issue
framework (string): Framework being used, if known
using_gsap (boolean): Whether GSAP ScrollTrigger is being used (default: false)
Returns: Diagnosis with probable causes, step-by-step fixes, and relevant code snippets.
Examples:
"Scroll feels janky on Safari" → symptom about Safari fps cap
"Nested modal scroll not working" → nested scroll configuration
"ScrollTrigger not syncing" → GSAP integration issue
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symptom": "<symptom>"
},
"name": "lenis_debug_scroll_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symptom | Yes | Description of the scroll issue (e.g., 'scroll not working', 'janky on Safari', 'nested scroll broken') | |
| framework | No | Framework being used, if known | |
| using_gsap | No | Whether GSAP ScrollTrigger is being used |