Update a project
update_projectModify a CMSKite project's name, description, website, or allowed browser origins. Only supplied fields change; allowed origins replace the full list, and project.write is required.
Instructions
Change a project's name, description, website, or allowed origins. Only the fields passed change. allowedOrigins REPLACES the list: pass every origin, like ["https://example.com", "https://www.example.com"] — scheme and host, no path. It decides which websites may use the project key from a browser. Requires the project.write grant.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| projectId | Yes | The project id, as `prj_...`. | |
| websiteUrl | No | Display only. Not a CORS allowance. | |
| description | No | ||
| websiteName | No | ||
| allowedOrigins | No | The complete list. [] removes the restriction. |