Save a component style
save_component_style[Admin] Write one named style for a block type as a DRAFT in its own file, components/<block_type>/.css; the company's other CSS files are never changed. The page editor then offers it on every block of that type. Every selector starts from the guide's root plus the style class. styleName on blocks (update_portal_configuration) applies it; it goes live only with publish_portal_stylesheet (files: [file_id]). remove: true deletes a style's file; the guide lists which pages use it, and their blocks go back to the standard look once the stylesheet is published.
Every argument in full, with examples: get_tool_reference.
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": {
"portal": "<portal>",
"block_type": "<block_type>",
"name": "<name>"
},
"name": "save_component_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | The rules. Every selector must include .jm-site and the style class, starting from the `root` the guide gives plus the class: `.jm-site .jm-block--hero.jm-style-dark-band h1 { ... }`. Required unless remove is true. | |
| name | Yes | What the editor calls the style. Saving the same block type and name again replaces it. | |
| portal | Yes | `interview` (career and interview portal) or `consumer` (coaching portal). Only the interview portal has brands. | |
| remove | No | true deletes the style and its file. Blocks that use it (the guide lists the pages) keep the name and show the standard look once the stylesheet is published. | |
| brand_id | No | A sub-brand, from the brands document of get_portal_configuration. | |
| llm_model | No | Your model id, e.g. "claude-opus-4-8"; "unknown" if unsure. For analytics. | |
| block_type | Yes | The kind of block the style is for. The editor offers it only on blocks of this type. | |
| description | No | One line on what the style is for, kept as a comment above it. | |
| merchant_id | No | Optional company. Admins and sub-merchant operators only; other callers always use their token's company. | |
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| live | Yes | ||
| name | Yes | ||
| class | Yes | ||
| pages | No | ||
| action | Yes | ||
| file_id | Yes | ||
| warnings | Yes | ||
| block_type | Yes | ||
| style_name | Yes | ||
| _mcp_instructions | No | Server-issued metadata for this conversation. |