Compose a page
compose_pageDesigns one page as finished TSX files: the page file, one file per block (nav, hero, sections, footer) and the site layer CSS, laid out for the direction's world, responsive from phone to desktop, accessible, tokens only, real copy. Returns the files, the components to install with fit_component, the copy to confirm, and a short page summary. Check the page with review_page before you show it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compose_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| copy | No | Override the brief's headline, subline or call to action here. | |
| page | No | Which page of the plan, by slug ("" or "home" for the home page, "pricing", "about"...). | |
| type | No | The site type from plan_site (default landing). | |
| brief | No | Used when there is no direction_id yet: brand, app (required), audience, mood, colors, theme, headline, subline, cta, avoid, and optionally world. | |
| blocks | No | Optional: your own block order instead of the plan's. | |
| target | No | next: Next.js app router files (default). vite: Vite React files. | |
| content | No | The site's real content, in the user's words. Blocks that need facts (numbers, quotes, prices, names) are only planned when they are given here; nothing is invented. | |
| direction_id | No | The direction_id from set_direction (or create_direction). |