Read or save a project
projectRead a Cloud page, Studio source, or Mobile Expo draft this account owns. Save replaces Studio source or a Mobile draft and does not publish, start an EAS build, or charge. A Mobile save requires expectedUpdatedAt from the last get or save. Publish Cloud HTML with deploy. Code has no server-side project. Data tables and records use the database tool.
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 preview. A complete HTML document. Cloud pages are published with deploy. | |
| name | No | ||
| draft | No | Full Mobile builder draft, version 1. A save replaces the stored draft. | |
| files | No | Studio source map. index.html is required. Paths end in html, css, js, json, md, or svg. | |
| action | Yes | ||
| prompt | No | Studio only. Up to 4,000 characters. | |
| product | Yes | ||
| projectId | Yes | ||
| expectedUpdatedAt | No | Required for a Mobile save. Use updated_at from the last get or save. |