redirect_to
Redirect to a non-tabBar page in a WeChat mini-program, closing the current page and replacing the top of the navigation stack.
Instructions
重定向到应用内非 tabBar 页面(关闭当前页面,替换栈顶)
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": {
"url": "<url>"
},
"name": "redirect_to"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | 需要跳转的应用内非 tabBar 页面路径 |