update_cms_file
Update the code content of an existing CMS file, optionally rename it, and revise storefront pages managed in WebCake.
Instructions
Update the code content of an existing CMS file
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": {
"id": "<id>",
"content": "<content>"
},
"name": "update_cms_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | CMS file ID | |
| name | No | Rename file | |
| content | Yes | New code content |