eda_sys_message_bus_subscribe
Subscribe to persistent message bus topics in EasyEDA Pro by providing a topic and callback function to handle incoming messages.
Instructions
sys_MessageBus.subscribe(topic: string, callbackFn: (message: any) => void) -> ISYS_MessageBusTask 私有消息总线:订阅消息 remarks: 持久性订阅消息 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_message_bus_subscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |