generate_ui
Generates a full UI layout by converting a natural language description into production-ready code, returning a URL to open LayoutPilot with the prompt pre-loaded for instant generation.
Instructions
Generate a full UI layout using LayoutPilot AI. Returns a URL that opens LayoutPilot with your prompt ready to generate production-ready UI code using Gemini 3.0 Flash.
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": {
"prompt": "<prompt>"
},
"name": "generate_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the UI to generate (e.g., 'Modern dashboard with sidebar navigation and analytics cards') | |
| auto_submit | No | Whether to automatically start generating when the URL is opened. Defaults to true. |