Mechanics that apply to the PAGE, not to a section
suggest_page_treatmentsThe twin of suggest_mechanics for the family that does not fill a section slot: smooth scroll, the shaped edge BETWEEN two stacked sections, a background that runs behind the whole page, a custom cursor, route transitions. These were unreachable from the planner because the whole model assumed a mechanic occupies one slot in sections — which is why a page could be planned end to end and still butt every section together with a straight line. A treatment does NOT consume a section and does NOT count toward motion_coverage; it adds on top. Some kinds are decisions rather than components (scroll-suave) and come back with verdict not-a-component instead of a fake candidate list. Still pass whatever you adopt to get_integration_contract: treatments compete for the same capabilities (scroll owner, document height) as any other component.
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": {
"kind": "<kind>"
},
"name": "suggest_page_treatments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Treatment kind. One of: scroll-suave, frontera-de-seccion, fondo-continuo, cursor, transicion-de-ruta | |
| need | No | What it has to do, in prose. Only reorders within the kind's pool. | |
| avoid | No | Slugs to exclude. | |
| limit | No | Max candidates (default 5). | |
| motion_system | No | The page's system; echoed back when there is nothing to adopt. |