Change a site Pugi built
editUse this when the person asks to change a Pugi website or app from this conversation: "change the headline", "make the buttons green", "add a menu page". Pass the change in the customer's own words; do not add features the customer did not ask for (no invented sign-up, accounts, subscriptions or payments). Pass the job_id or project_id from the last build result. Do not use to start a new site or app. In hosts that render the build card (MCP Apps or ChatGPT widget), the card tracks progress automatically: do not poll job_status. In hosts without a build card (Claude Code or API), call job_status with the job_id until the job is finished, stopped or failed.
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": {
"instruction": "<instruction>",
"idempotency_key": "<idempotency_key>"
},
"name": "edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pick | No | Console gallery starter slug. | |
| theme | No | Console theme slug. | |
| job_id | No | The job_id of the build (or of an earlier edit) of the site to change. | |
| locale | No | Site language (legacy alias for site_language). | |
| logo_id | No | Selected logo_id returned by make_logo. | |
| max_usd | No | The run ceiling in USD; plan edits are included in the subscription. For credit edits, the most this change may cost. Default 2. | |
| language | No | The language the person is writing in, as a BCP 47 tag such as "ru". | |
| project_id | No | Or the project_id of that site. | |
| instruction | Yes | The change to make, in plain words. | |
| without_logo | No | True only when the person said this site should not use the logo they picked. | |
| brief_version | No | With brief_confirmed: the version of the summary the person agreed to, as returned with that summary. | |
| site_language | No | Language for the website content; independent of the chat card language. | |
| brandHandoffId | No | BrandHandoff from logo.pugi.io. | |
| brief_confirmed | No | True only after the person has seen the summary and agreed. In a chat, without it nothing starts and the summary comes back. | |
| idempotency_key | Yes | A unique string naming this job. The same key returns the same job and is never charged twice. |