eda_sys_window_get_current_theme
Retrieve the active EDA window's current theme (light or dark) to adjust UI elements accordingly.
Instructions
sys_Window.getCurrentTheme() -> Promise<ESYS_Theme> 获取当前主题 remarks: 获取当前 EDA 主题,浅色 或 深色 returns: 当前主题
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": "eda_sys_window_get_current_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |