Navigate the User's Preview
navigate_previewPoint the user's OPEN Floot preview at what you built, to SHOW it to them; pair it with screenshot_preview to see it yourself. targetType "page": the app's router goes to path. "component": the component's .example.tsx for name (if it has none, say so or create one). "page-examples": the staged screens in pages/.__example.tsx (the file must exist), listing them; "#" opens one. "design": the canvas designs/.tsx fitted, listing its sections and frames; "#" zooms to one. "link-preview": the link preview card (pages/.ogImage.tsx) of the page at path, with its verdict. "merge-review": the merge review of branch projectId, into main or the branch id in name; only in the user's own signed-in window, otherwise it fails and returns a link to it. Needs a Floot window open for this project; fails fast otherwise.
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": {
"projectId": "<projectId>",
"targetType": "<targetType>"
},
"name": "navigate_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The item name as list_files shows it, no folder or extension: "HeroSection", "dashboard", "_index", "user.$id", page examples with "#<screen slug or title>" ("dashboard#empty-state"), or a design with "#<id>" ("CheckoutExplorations#payment"; "section:", "frame:" or "bookmark:" after the # when ids collide). | |
| path | No | targetType "page" or "link-preview": a path from "/", query and hash allowed ("/user/123?tab=settings#top"; pages/user.$id.tsx serves /user/<id>). | |
| projectId | Yes | ||
| targetType | Yes |