mp_callWx
Invoke WeChat Mini Program API methods to control pages and components programmatically.
Instructions
调用微信小程序 API 方法,(如 wx.pageScrollTo)。
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": {
"method": "<method>"
},
"name": "mp_callWx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | No | ||
| method | Yes | ||
| args | No |