eda_sys_timer_set_interval_timer
Set a repeating interval timer in EasyEDA Pro that runs a callback on each cycle. Removes any previous timer with the same ID, then returns if setup succeeded.
Instructions
sys_Timer.setIntervalTimer(id: string, timeout: number, callFn: (...args: any) => void, ...args: any) -> boolean 设置循环定时器 remarks: 如果遇到 ID 重复的定时器,则之前设置的定时器将被清除 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_timer_set_interval_timer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |