current_page
Retrieve the active page's page_id handle to enable automation of WeChat mini-programs in Developer Tools.
Instructions
获取当前活动页面(返回 page_id 句柄)
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": "current_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||