Build a theme
build_themeOn one site of the account, named in site. Asks for one build of the theme as it stands (its package.json scripts.build, off the app server) and answers a ticket at once; poll get_build until it finishes. A succeeded build puts every held change live with its output. A write asks for its own build, so this is for a build that failed on something outside the theme. A theme with no build needs none: what assets/ holds is what the page loads. Admins only.
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": {
"site": "<site>",
"theme": "<theme>"
},
"name": "build_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The site to work on, as list_sites names it | |
| theme | Yes |