Replace project content
replace_project_htmlReplace saved project HTML (up to 24,000 characters). Requires review and does not deploy it. Use get_project to read the current content first. Returns awaiting_confirmation and an approval_url: the owner must approve these exact parameters in Cormak, then retry with the SAME request_id. No work starts before approval. Reuse request_id on retries.
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": {
"request_id": "<request_id>",
"project_id": "<project_id>",
"html": "<html>"
},
"name": "replace_project_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| project_id | Yes | ||
| request_id | Yes | Stable UUID for this exact operation. Reuse on retries. Never change it to retry an unknown result. |