拖拽滚动条
vtable_drag_scrollbarDrag VTable scrollbar sliders to scroll content via real mouse actions, returning scroll positions for assertions.
Instructions
拖拽 VTable 滚动条滑块实现滚动(真实鼠标:按下→拖动→释放)。
滑块几何由表格总量与滚动比例确定性计算(滚动条为 canvas 绘制)。 返回拖拽前后的 scrollTop/scrollLeft 供断言。
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": "vtable_drag_scrollbar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | No | ||
| direction | No | vertical=纵向滚动条, horizontal=横向滚动条 | vertical |
| distance_px | No | 滑块拖动的像素距离(内容滚动距离 = 该值 × 内容比率) | |
| table_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||