Integration contract for a set of components
get_integration_contractAudit page motion plans for GSAP compliance: uncover rule violations, warnings, budget limits, and get an ordered initialization plan covering Lenis, CustomEase, ScrollTrigger, and WebGL.
Instructions
Given the slugs you intend to put on ONE page, returns: rule violations (hard, invalidate the page), warnings, the measured budget (JS gzip / assets / scroll corridor), and an ordered init plan — single Lenis instance, CustomEase registration, entry veil first, one ScrollTrigger.refresh() at the end, WebGL loop gating. Every step cites the evidence it comes from.
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": {
"slugs": "<slugs>"
},
"name": "get_integration_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slugs | Yes | ||
| motion_system | No | ||
| moving_sections | No | Las secciones que DEBEN moverse (plan_page → motion_coverage.must_move), o cuántas son. Con esto el contrato audita la cobertura y te dice si te has quedado corto. |