mp_getLogs
Retrieve console logs from a WeChat mini program and optionally clear them to aid debugging.
Instructions
获取小程序控制台日志。可选择在获取后清空日志。
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": "mp_getLogs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | No | ||
| clear | No |