WeChat_get_access_token
Retrieve the WeChat Official Account access token using AppID and AppSecret, enabling API authentication for content management.
Instructions
获取微信公众号Access Token
Metadata:
input: AppID, AppSecret
output: success, error, access_token, expires_in
参数说明:
AppID: 公众号唯一凭证
AppSecret: 公众号凭证密钥
expires_in: 凭证有效时间(秒),默认7200
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": {
"args": "<args>"
},
"name": "WeChat_get_access_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |