Modify Website
modify_appUse this when the user wants to change or update an existing website. The AI can overwrite or remove existing content and automatically publishes the result to the live site. This uses Kleap usage. Needs the app_id — if the user named the site by its address (e.g. 'mysite.ch'), call find_app first to get the app_id.
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": {
"app_id": "<app_id>",
"message": "<message>",
"context": "<context>"
},
"name": "modify_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The app ID to modify | |
| context | Yes | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. | |
| message | Yes | What to change (e.g. 'Change colors to blue, add a contact form') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| plan | No | ||
| slug | No | ||
| app_id | No | ||
| status | No | ||
| palette | No | ||
| task_id | No | ||
| message_id | No | ||
| preview_url | No | ||
| production_url | No | ||
| screenshot_url | No | ||
| deployment_status | No |