typora_install_theme
Install or update a custom CSS theme in Typora's theme directory, making it selectable from the Theme menu.
Instructions
Install or update a custom CSS theme directly into Typora's theme directory (%APPDATA%\Typora\themes) so it appears in Typora's Theme menu.
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>",
"css": "<css>"
},
"name": "typora_install_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | Yes | Raw CSS stylesheet content. | |
| name | Yes | Name of the theme (e.g. 'dracula', 'catppuccin-mocha', 'nord'). |