create_app_from_prompt
Turn a one-sentence brief into a queued immutable app deployment.
The returned app_id can be passed to:
iterate_app(app_id, instruction='make the header green')to record an iteration (M2 will actually apply it)get_app_build_status(app_id)to check current stateset_app_env(app_id, set={KEY:val})to inject env varswalk_app(app_url=<url>, mode='hybrid')for self-test
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": {
"brief": "<brief>",
"template_git_url": "<template_git_url>"
},
"name": "create_app_from_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional display name. Derived from the brief if omitted. | |
| wait | No | Wait briefly for the asynchronous deployment to finish. | |
| brief | Yes | One-sentence description of what the app should do. Saved to App.origin.brief for future iteration. | |
| branch | No | Template repo branch. | main |
| api_key | No | MCP API key | |
| use_obs | No | Use OBS when true, the image hook when false, or automatic selection when omitted. | |
| base_image | No | Base variant for the deployment. | debian-trixie |
| visibility | No | 'public' (anyone with URL can view) or 'private' (gated by your OpenFactory login). | public |
| session_token | No | Session token | |
| template_git_url | Yes | HTTPS git URL of a template repo to bake into a fresh app variant. | |
| wait_timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||