write_own_theme_files
Write several files of an own theme at once: changes maps a path to its whole new content, or null to delete it. Pass the revision you last read as baseRevision; if the theme changed since, nothing is written. The theme is checked first: a write that would leave it not installing saves nothing and says why. Changes the theme's files only, not the shop: stage_own_theme puts them on the shop as its draft.
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": {
"slug": "<slug>",
"changes": "<changes>"
},
"name": "write_own_theme_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The theme's slug, as list_own_themes shows it. | |
| changes | Yes | ||
| baseRevision | No |