Skip to content

Commit 7779be2

Browse files
fix: add starting value guidance back to scroll tool description
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 33adc5c commit 7779be2

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

src/askui/tools/computer/mouse_scroll_tool.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ def __init__(self, agent_os: ComputerAgentOsFacade | None = None) -> None:
1111
description=(
1212
"Scroll the mouse wheel at the current "
1313
"position. The scroll amount depends on "
14-
"the operating system. 150 is a small "
15-
"but reasonable scroll step. On Windows, "
16-
"positive dy scrolls down. On macOS "
17-
"(default settings), negative dy scrolls "
18-
"down. If scrolling moves in the opposite "
19-
"direction than expected, invert the "
20-
"values."
14+
"the operating system. Start with "
15+
"dy=150 or dy=-150 for a normal scroll "
16+
"and adjust based on the result. "
17+
"On Windows, positive dy scrolls down. "
18+
"On macOS (default settings), negative "
19+
"dy scrolls down. If scrolling moves in "
20+
"the opposite direction than expected, "
21+
"invert the values."
2122
),
2223
input_schema={
2324
"type": "object",

0 commit comments

Comments
 (0)