test_wecom_connection
Check that the WeCom (企业微信 / WeChat Work) connection works: fetches a fresh access_token with Corp ID and app secret, then reads the app itself (name, visibility scope) with it — an authenticated read, not just a reachability check. Use right after entering Corp ID, Agent ID and secret. Tells apart a wrong secret (40001), a wrong Corp ID (40013), a wrong Agent ID (40056) and the trusted-IP block (60020: apps created after 2022-06-20 only accept calls from whitelisted IPs). Changes nothing.
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": "test_wecom_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||