Edit Website
edit_websiteEdit an existing website across its pages using AI. Submits changes as an asynchronous workflow and returns a workflow ID for progress tracking.
Instructions
Edit an existing website (across its pages) using AI. Starts an asynchronous workflow and returns a workflow_id immediately — poll check_edit_status with that id to track progress and get the final result.
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": {
"website_id": "<website_id>",
"prompt": "<prompt>"
},
"name": "edit_website"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Describe the change to make to the website | |
| publish | No | When true, publish the edited page(s) to the live website. When false/omitted, save the changes as drafts to review + publish from the editor. | |
| website_id | Yes | The website ID | |
| schedule_at | No | Optional ISO 8601 datetime to schedule for later |