Compose a page from blocks
compose_pagePlan a Ballmac UI page from a plain-language intent, such as a SaaS landing page or login screen. Get ordered blocks, install commands, a page.tsx scaffold, and matching templates.
Instructions
Plan a page from Ballmac UI blocks for an intent such as 'SaaS landing page with pricing and FAQ' or 'login screen'. Returns the chosen blocks in page order, install commands, a page.tsx scaffold that renders them, and any complete templates that already fit the intent.
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 | ||
| includePro | No | ||
| packageManager | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| missing | Yes | ||
| commands | Yes | ||
| scaffold | Yes | ||
| sections | Yes | ||
| templates | Yes |