build_motion_manifest
Builds a motion.manifest.json scaffold from analyzed page bands and scroll census data, mapping sections to animation triggers so you can verify motion evidence offline.
Instructions
Build a motion.manifest.json scaffold from measured evidence: an analyze_page_structure result (bands) + an analyze_scroll_map census, with optional section overrides. Sections are mapped best-effort from each band's tag + first #id/.class token in its label (or sections[].selector) — no markup is available, so DOM initial-state hints are empty; census triggers still attribute to sections by those tokens. Returns { manifest, measured:false, censusAnims, warnings, note }; manifest.measured stays false when the census has no anims/triggers/curves. Never throws ({ error } on invalid input). Pure/offline — no page fetches.
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": {
"bands": "<bands>",
"scrollCensus": "<scrollCensus>"
},
"name": "build_motion_manifest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bands | Yes | analyze_page_structure result object (must carry bands[]) | |
| sections | No | Optional section overrides in build order; selector supplies the #id/.class tokens instead of the band label | |
| scrollCensus | Yes | analyze_scroll_map result object (anims[] + gsapTriggers[] required) |