reload_adapter
Hot-reloads a specified platform adapter by disconnecting and reconnecting its connection, affecting live message flow; requires the allow_adapter_reload config switch to be enabled.
Instructions
热重载指定平台适配器(会断开并重连平台连接,影响在线消息收发)。
受机器人配置 allow_adapter_reload 开关控制,默认禁用;开启后调用才生效。
Args: platform: 平台名
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": {
"platform": "<platform>"
},
"name": "reload_adapter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |