ok
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"name": "browser_scroll",
|
||||
"description": "Scroll the page or a specific element. Use this to bring elements into view, scroll to content, or navigate long pages. Can scroll in any direction by specifying delta values or using directional shortcuts.",
|
||||
"arguments": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ref": {
|
||||
"type": "string",
|
||||
"description": "Element reference to scroll into view, or to scroll within (for scrollable containers)"
|
||||
},
|
||||
"direction": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"up",
|
||||
"down",
|
||||
"left",
|
||||
"right"
|
||||
],
|
||||
"description": "Direction to scroll. Shorthand for setting deltaX/deltaY."
|
||||
},
|
||||
"amount": {
|
||||
"type": "number",
|
||||
"description": "Amount to scroll in pixels when using direction. Defaults to 300."
|
||||
},
|
||||
"deltaX": {
|
||||
"type": "number",
|
||||
"description": "Horizontal scroll amount in pixels. Positive scrolls right, negative scrolls left."
|
||||
},
|
||||
"deltaY": {
|
||||
"type": "number",
|
||||
"description": "Vertical scroll amount in pixels. Positive scrolls down, negative scrolls up."
|
||||
},
|
||||
"scrollIntoView": {
|
||||
"type": "boolean",
|
||||
"description": "If true and ref is provided, scrolls the element into view instead of scrolling within it. Defaults to true when ref is provided without delta values."
|
||||
},
|
||||
"viewId": {
|
||||
"type": "string",
|
||||
"description": "Target browser tab ID. If omitted, uses the last interacted tab."
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user