Compose a page
compose_pagePlan a page from blocks for an intent such as 'SaaS landing page with pricing and FAQ' or 'login screen'. Returns one block per section in page order, the install command, a page.tsx scaffold that renders them, and whole templates that already fit. Free blocks only unless includePro is true.
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": {
"intent": "<intent>"
},
"name": "compose_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | What the page is for. | |
| includePro | No | Also pick Pro blocks and templates (they need a licence key). | |
| packageManager | No | npm |