Set a theme's settings
set_theme_settingsOn one site of the account, named in site. Writes values for settings the theme's manifest declares (get_theme_settings lists them): values maps keys to a boolean, one of a select's options, a hex colour, a text, an html (one line: bold, italic, a link — anything else is cleaned out), or an image address (an absolute URL or a / path; empty clears it). Live at once — these are rows the site reads, not files — so ask before changing what readers see. A key the manifest does not declare, or a value off its type, is refused whole. 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>",
"values": "<values>"
},
"name": "set_theme_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The site to work on, as list_sites names it | |
| theme | Yes | ||
| values | Yes | Setting key to value |