Read or replace Studio source or a Mobile draft
projectReads or replaces one project this account owns. action get reads a Cloud page, Studio source, or a Mobile Expo draft. action save replaces Studio source or a Mobile draft, does not publish a site, and does not start an EAS build. Use project for one existing row. Use create_project to create it, list_projects to find the id, deploy to publish Cloud HTML, database for Data tables and records, and export for a ZIP or JSON download. A Mobile save requires expectedUpdatedAt from the last get or save. Cloud, Data, and Code cannot be saved here.
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": {
"action": "<action>",
"product": "<product>",
"projectId": "<projectId>"
},
"name": "project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | Studio save only. Complete HTML preview document. Cloud pages are published with deploy, not saved here. | |
| name | No | Optional new display name on save. Studio: 1 to 100 characters. Mobile uses this or draft.appName. | |
| draft | No | Mobile save only. Full Mobile builder draft, version 1. The save replaces the stored draft. | |
| files | No | Studio save only. Source map. index.html is required. Paths end in html, css, js, json, md, or svg. | |
| action | Yes | get reads. save replaces Studio source or a Mobile draft. save does not publish Cloud HTML. | |
| prompt | No | Studio save only. Replaces the stored prompt. Up to 4,000 characters. | |
| product | Yes | cloud, studio, or mobile can be read. studio or mobile can be saved. data is refused and belongs on database. code is refused. | |
| projectId | Yes | UUID of the Cloud site, Studio project, or Mobile project this account owns. | |
| expectedUpdatedAt | No | Required for a Mobile save. Use updated_at from the last get or save. A mismatch returns 409 and does not write. |