emit_deployment
🎓 GRADUATE a tested surface into a dedicated, DEPLOYER-ONLY standing app in YOUR OWN Google Apps Script account. Returns a deterministic recipe (config files + clasp ops + least-privilege scopes derived from the atoms + verify) — you run it with your own clasp; nothing runs on our side, we hold no creds.
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": {
"payload": "<payload>"
},
"name": "emit_deployment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | The tested A2UI payload to bake into the standing app as its home surface: {title, theme, blocks:[...]}. | |
| app_name | No | Name for the Apps Script project and its folder. Defaults to the payload title, else "A2UI App". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | Ordered shell steps to build and deploy. | |
| note | Yes | What the recipe does. | |
| files | Yes | File name to file content for the Apps Script project (HomeSurface.gs, appsscript.json). | |
| inputs | Yes | Resolved inputs. | |
| verify | Yes | How to check the deployed app. | |
| renderer_source | No | Where to fetch the open renderer. | |
| required_catalogs | Yes | Catalog URIs the payload needs (base catalog first). |