Create project
create_projectCreate a project for one web app: the target URL, the login gate (for an app with a sign-in, the URL fragment the address bar contains after signing in; for a public page, login_success_text with words the page always shows), the legal attestation that the customer may record this app (leave it out unless this tool asks for it: approving the agent on Screen Browser already confirmed it), extra hosts the app talks to, and, for an app with a sign-in, the demo user's credentials stored as encrypted variables. Do this once per app; reuse the returned project id. If list_projects shows a project without a target URL, fill that one with update_project instead. Then call get_guide_instructions before writing the guides.
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": {
"name": "<name>",
"target_url": "<target_url>"
},
"name": "create_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Project name shown in the dashboard, e.g. the app's name. | |
| frame | No | Default frame for phone/tablet videos: portrait (9:16, default), landscape (widescreen 16:9) or none (full screen). | |
| voice | No | Narration voice id from list_voices (default: the language's default voice). | |
| device | No | Default device for this project's videos: desktop (default) or a phone/tablet preset (desktop, iphone, iphone-max, android, android-large, ipad, ipad-pro, android-tablet). Any run can override it. | |
| 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 (default) or brand. | |
| language | No | Narration language code from list_voices (default en). | |
| variables | No | Demo credentials, e.g. [{name: "USERNAME", value: "demo@example.com"}, {name: "PASSWORD", value: "…"}], referenced in guides as {USERNAME}. Stored encrypted and never returned by any tool. A value passed here goes through the conversation; to keep it out of chat, leave variables out and set them on the project's page in the Screen Browser dashboard. | |
| app_locale | No | BCP-47 code of the app's interface language (de, pt-BR). Guides can be in any language; the recorder looks for the words the page shows. Omit for English. | |
| target_url | Yes | The app's login or home page, e.g. https://app.example.com/login | |
| allow_hosts | No | Other sites the recording opens as pages, such as a sign-in on a separate domain. The app's own site and the guides' addresses are included; what pages load in the background (API, CDN, fonts) needs no list. | |
| attestation_type | No | Legal basis for recording this app: {"self_owned":"I own or operate this application.","client_authorized":"My client has authorised me to record this application on their behalf.","internal_tool":"This is an internal tool and I have authority to record it."}. Leave it out unless this tool asks for it. | |
| login_success_text | No | Login gate: visible text present only when signed in, e.g. "Sign out". For a page without a sign-in: words the page always shows. | |
| login_success_selector | No | Login gate: a CSS selector visible only when signed in, e.g. nav a[href="/campaigns"]. | |
| login_success_url_contains | No | Login gate: URL fragment present only after a successful login, e.g. /dashboard. If the app lands on the root URL after login, use login_success_selector or login_success_text instead. At least one gate is required; recording never starts before it passes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| next | Yes | What to do now. | |
| attested | Yes | ||
| hostname | Yes | The attested host. | |
| variables | Yes | Variable names stored; values are never returned. | |
| project_id | Yes | Use with put_variables, put_guide, validate_guide and start_run. | |
| target_url | Yes | ||
| project_url | Yes | The project page in the dashboard, where the user can set credentials without sharing them here. |