setThemeColor
Set the client theme color with an rgb value, or reset it to the default by passing reset: true or a null theme color.
Instructions
设置客户端主题色,如 rgb(229,182,80);reset: true(或 theme_color: null)= 恢复默认
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "setThemeColor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reset | No | true = 恢复默认,等价于 theme_color: null | |
| theme_color | No | rgb(...) 颜色;传 null 恢复默认 |