[
{"type": "function", "function": {"name": "left_click", "description": "Left mouse click at a specific point on the page.", "parameters": {"type": "object", "properties": {"coordinates": {"type": "array", "description": "The [x, y] location to click.", "items": {"type": "integer"}}}, "required": ["coordinates"]}}},
{"type": "function", "function": {"name": "double_click", "description": "Double left mouse click at a specific point on the page.", "parameters": {"type": "object", "properties": {"coordinates": {"type": "array", "description": "The [x, y] location to click.", "items": {"type": "integer"}}}, "required": ["coordinates"]}}},
{"type": "function", "function": {"name": "triple_click", "description": "Triple left mouse click at a specific point on the page.", "parameters": {"type": "object", "properties": {"coordinates": {"type": "array", "description": "The [x, y] location to click.", "items": {"type": "integer"}}}, "required": ["coordinates"]}}},
{"type": "function", "function": {"name": "right_click", "description": "Right mouse click at a specific point on the page.", "parameters": {"type": "object", "properties": {"coordinates": {"type": "array", "description": "The [x, y] location to click.", "items": {"type": "integer"}}}, "required": ["coordinates"]}}},
{"type": "function", "function": {"name": "scroll", "description": "Scrolls the page in a given direction.", "parameters": {"type": "object", "properties": {"direction": {"type": "string"}, "coordinates": {"type": "array", "items": {"type": "integer"}}, "amount": {"type": "integer"}}, "required": ["direction", "coordinates", "amount"]}}},
{"type": "function", "function": {"name": "type", "description": "Types text into the currently focused input.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "press_enter_after": {"type": "boolean"}, "clear_before_typing": {"type": "boolean"}}, "required": ["text"]}}},
{"type": "function", "function": {"name": "key_press", "description": "Sends a keyboard input (Playwright-compatible key combination).", "parameters": {"type": "object", "properties": {"key_comb": {"type": "string"}}, "required": ["key_comb"]}}},
{"type": "function", "function": {"name": "drag", "description": "Drags an element from start to target.", "parameters": {"type": "object", "properties": {"start_coordinates": {"type": "array", "items": {"type": "integer"}}, "coordinates": {"type": "array", "items": {"type": "integer"}}}, "required": ["start_coordinates", "coordinates"]}}},
{"type": "function", "function": {"name": "hover", "description": "Hovers over a specific point on the page.", "parameters": {"type": "object", "properties": {"coordinates": {"type": "array", "items": {"type": "integer"}}}, "required": ["coordinates"]}}},
{"type": "function", "function": {"name": "go_back", "description": "Navigates back.", "parameters": {"type": "object", "properties": {}, "required": []}}},
{"type": "function", "function": {"name": "wait", "description": "Pauses execution.", "parameters": {"type": "object", "properties": {}, "required": []}}},
{"type": "function", "function": {"name": "goto_url", "description": "Navigates to URL.", "parameters": {"type": "object", "properties": {"url": {"type": "string"}}, "required": ["url"]}}},
{"type": "function", "function": {"name": "refresh", "description": "Reloads the page.", "parameters": {"type": "object", "properties": {}, "required": []}}}
]