save_style
Saves CSS as a UserCSS style for matching sites, applying on every visit across connected browsers and installing in Stylus; reuse a name to update and bump its version.
Instructions
Save CSS that restyles a site on every visit, in every connected browser. It is stored as a UserCSS file (~/.tether/styles/.user.css) that also installs unchanged in Stylus. It shows in the popup on matching pages, where the user can switch it off. Saving an existing name replaces it and bumps its version. Use !important where the site's own rules win. For changes CSS can't do, pair it with save_script (run=auto).
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": {
"name": "<name>",
"matches": "<matches>",
"css": "<css>"
},
"name": "save_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | Yes | ||
| tab | No | A shared tab the style applies to. Before and after screenshots of it go into the user's gallery. | |
| name | Yes | ||
| matches | Yes | Match patterns, e.g. ["https://mail.google.com/*"]. | |
| description | No |