Update project
update_projectFill in or change a project: a project without a target URL (the one a new workspace starts with) is set up here with target_url, the login gate and allow_hosts, then, for an app with a sign-in, credentials go in with put_variables. Also changes a project's login gate, extra hosts, target URL, name, narration, default device or 3D recording — typically after a run failed with error code login_failed ("Sign-in didn't go through") and the gate needs a selector or text instead of a URL fragment, or with page_check_failed (a page without a sign-in did not show the gate's text) and the text needs to be words the page always shows. Only the fields given are changed; passing all three gate fields empty is refused.
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": {
"project_id": "<project_id>"
},
"name": "update_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fade | No | Half-second fade in at the start and out at the end. | |
| name | No | New project name. | |
| frame | No | Default frame for phone/tablet videos: portrait, landscape (widescreen 16:9) or none (full screen). | |
| voice | No | Narration voice id from list_voices. | |
| device | No | Default device for this project's videos: desktop, or a phone/tablet preset (desktop, iphone, iphone-max, android, android-large, ipad, ipad-pro, android-tablet). | |
| three_d | No | 3D recording, +10 credits per minute of video: turn it on when the app draws 3D graphics (WebGL: maps, globes, product viewers, games, 3D charts), so they move smoothly in the video. Leave it off for ordinary apps. Tell the user that 3D recordings take a few minutes longer to start. | |
| backdrop | No | Default backdrop behind the phone frame: neutral or brand. | |
| cta_text | No | Call to action on the ending for this project; empty uses the Brand one. | |
| language | No | Narration language code from list_voices. | |
| app_locale | No | BCP-47 code of the app's interface language; empty string clears it. | |
| project_id | Yes | The project to change (from list_projects). | |
| target_url | No | New login or home page URL (https). The host must be attested; create_project attests a new host. | |
| title_line | No | What the narrator says over the opening, up to 100 characters of plain words; {title} is replaced by each guide's video title. Empty speaks the title. | |
| allow_hosts | No | Replaces the list of other sites the recording may open as pages (a sign-in on a separate domain); background requests (API, CDN) need no list. | |
| ending_style | No | Ending style. "clip" needs a clip uploaded in the app. | |
| bookends_mode | No | Opening and ending: "default" uses the workspace Brand settings, "custom" uses the values below (Pro and up). | |
| narrate_title | No | The narrator speaks a line over the opening (Pro and up); by default the video title. | |
| opening_style | No | Opening style. "clip" needs a clip uploaded in the app. | |
| ending_seconds | No | Ending length, 3 to 10 seconds. | |
| opening_seconds | No | Opening length, 3 to 10 seconds. | |
| login_success_text | No | Visible text present only when signed in; for a page without a sign-in, words the page always shows. | |
| login_success_selector | No | CSS selector visible only when signed in. | |
| login_success_url_contains | No | URL fragment seen only after login. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| output | Yes | Default device settings after the change. | |
| three_d | Yes | 3D recording is on for this project (+10 credits per minute of video). | |
| bookends | Yes | Opening and ending settings after the change (mode, opening, ending, cta_text, narrate_title, title_line, fade). | |
| login_gate | No | url_contains, text and/or selector now in force. | |
| project_id | Yes | ||
| target_url | Yes | ||
| allow_hosts | Yes |