Change project settings
update_project_settingsChange a project's launch settings: the branch ronda previews and edits (branch), the app folder (appDir, null for the repository root), the start command (devCommand) and the port (devPort). Pass only what changes; each value is checked against the repository before it is saved, and a missing branch, folder or script is refused with the reason. These settings decide what code ronda runs in the preview sandbox, and the new values overwrite the saved ones, so only use values the user chose (offer them with show_project_settings). Applies to new sessions only: a running session keeps the settings it started with; call open_session with newSession: true to preview the change. Reads the repository from GitHub and does not modify it. Pass service to pick which app or service runs when the project has several; an explicit devCommand, appDir or devPort in the same call wins over the service's own. Saving any of service, appDir, devCommand or devPort also confirms a pending launch choice, even when the value is the one ronda detected.
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": {
"projectId": "<projectId>"
},
"name": "update_project_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appDir | No | Folder that holds the app, relative to the repository root (it needs a package.json). null (or ".") = the repository root. | |
| branch | No | Branch ronda previews and edits. Must exist and have commits; applies to new sessions. | |
| context | No | A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details. | |
| devPort | No | Port the dev server listens on (1-65535). | |
| service | No | The app or service to run, one of the services show_project_settings lists. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| projectId | Yes | The ronda project id, from list_projects, show_projects or create_project. | |
| devCommand | No | Command that starts the app, run from the app folder (e.g. "npm run dev"). Checked against the folder's package.json scripts. | |
| expectedRevision | No | Set by ronda cards; omit. The settings revision the card showed; a different current revision refuses the save. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| changed | Yes | ||
| revision | Yes | ||
| settings | Yes | ||
| warnings | Yes | ||
| projectId | Yes | ||
| redaction | Yes | ||
| settingsUrl | No | ||
| settingsNote | No |