set_widget_geometry
Update widget position and size (x, y, width, height) individually or in batches to adjust layouts; changes can sync back to RP/1 source.
Instructions
快捷修改元件几何位置与尺寸(x、y、w/width、h/height):定位(target 或 widget+page)→ 更新二进制 MyStyle 坐标与尺寸(DOAName 3221225573 / 3221225577)→ 写新链节点并校验三零。支持单条或 edits 批量修改,改动可被 sync_prototype(lift/merge) 自动导回 RP/1 源码。
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": "set_widget_geometry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | ||
| w | No | ||
| x | No | ||
| y | No | ||
| page | No | ||
| edits | No | ||
| width | No | ||
| height | No | ||
| target | No | locate 返回的定位字段对象(record+id [+container] 精确定位)或 {query[,page][,type]} 搜索(须唯一)或字符串(按名称/文本搜) | |
| widget | No |