mp_get_layout
Reads the WeChat editor viewport’s browser layout, image-loading statistics, and up to 40 paragraph bounding boxes in CSS pixels to diagnose rendering and placement issues.
Instructions
读取浏览器布局、图片加载统计和最多 40 个段落框(编辑器视口 CSS 像素)。
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_get_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No |