获取当前页面与页面栈
wdt_current_pageRetrieves the current mini program page path, query parameters, and page stack path to help you inspect navigation state and debug routing in WeChat DevTools.
Instructions
返回当前小程序页面的路径、query,以及页面栈路径。
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": "wdt_current_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||