Build a web app
build_appBuild a working web app from a prompt with PromptUI. Starts an asynchronous build (costs credits from the authenticated account) and returns a buildId — poll get_build_status for progress and the preview link.
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": "build_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Build mode: 'quality' (default) or 'fast' | quality |
| prompt | Yes | What to build, in plain language | |
| framework | No | Output framework: 'react-spa' (default) or 'nextjs-app' | react-spa |
| _confirmed | No | Set to true only after the user has explicitly approved this exact write or credit-spending action. |