Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
{
"driver": "cua-driver 0.41.3 (macOS), `cua-driver describe <tool>` input_schema",
"tools": {
"bring_to_front": {
"properties": {
"pid": {
"type": "integer"
},
"session": {
"type": "string"
},
"window_id": {
"type": "integer"
}
},
"required": [
"pid"
]
},
"browser_click": {
"properties": {
"delivery_mode": {
"default": "background",
"enum": [
"background",
"foreground"
],
"type": "string"
},
"input_route": {
"enum": [
"trusted",
"dom_event"
],
"type": "string"
},
"ref": {
"type": "string"
},
"session": {
"type": "string"
},
"tab_id": {
"type": "string"
},
"target_id": {
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"target_id",
"tab_id"
]
},
"browser_dialog": {
"properties": {
"action": {
"enum": [
"inspect",
"accept",
"dismiss"
],
"type": "string"
},
"delivery_mode": {
"default": "background",
"enum": [
"background",
"foreground"
],
"type": "string"
},
"dialog_id": {
"type": "string"
},
"prompt_text": {
"type": "string"
},
"session": {
"type": "string"
},
"tab_id": {
"type": "string"
},
"target_id": {
"type": "string"
}
},
"required": [
"target_id",
"tab_id",
"action"
]
},
"browser_navigate": {
"properties": {
"session": {
"type": "string"
},
"tab_id": {
"type": "string"
},
"target_id": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"target_id",
"tab_id",
"url"
]
},
"browser_pointer": {
"properties": {
"action": {
"enum": [
"hover",
"right_click",
"double_click",
"scroll",
"drag"
],
"type": "string"
},
"delivery_mode": {
"default": "background",
"enum": [
"background",
"foreground"
],
"type": "string"
},
"delta_x": {
"type": "number"
},
"delta_y": {
"type": "number"
},
"destination_ref": {
"type": "string"
},
"input_route": {
"default": "trusted",
"enum": [
"trusted",
"dom_event"
],
"type": "string"
},
"ref": {
"type": "string"
},
"session": {
"type": "string"
},
"tab_id": {
"type": "string"
},
"target_id": {
"type": "string"
},
"to_x": {
"type": "number"
},
"to_y": {
"type": "number"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"target_id",
"tab_id",
"session",
"action"
]
},
"browser_type": {
"properties": {
"mode": {
"enum": [
"insert_text",
"keystrokes"
],
"type": "string"
},
"ref": {
"type": "string"
},
"replace": {
"type": "boolean"
},
"session": {
"type": "string"
},
"tab_id": {
"type": "string"
},
"target_id": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"target_id",
"tab_id",
"ref",
"text"
]
},
"check_permissions": {
"properties": {
"probe_direct_capture": {
"type": "boolean"
},
"prompt": {
"default": false,
"type": "boolean"
},
"session": {
"type": "string"
}
}
},
"click": {
"properties": {
"action": {
"type": "string"
},
"button": {
"enum": [
"left",
"right",
"middle"
],
"type": "string"
},
"capture_id": {
"type": "string"
},
"count": {
"type": "integer"
},
"debug_image_out": {
"type": "string"
},
"delivery_mode": {
"enum": [
"background",
"foreground"
],
"type": "string"
},
"element_token": {
"type": "string"
},
"from_zoom": {
"type": "boolean"
},
"modifier": {
"items": {
"type": "string"
},
"type": "array"
},
"pid": {
"type": "integer"
},
"post_action_wait": {
"enum": [
"default",
"none"
],
"type": "string"
},
"scope": {
"enum": [
"window",
"desktop"
],
"type": "string"
},
"session": {
"type": "string"
},
"target": {
"type": "object"
},
"window_id": {
"type": "integer"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
}
},
"double_click": {
"properties": {
"delivery_mode": {
"enum": [
"background",
"foreground"
],
"type": "string"
},
"element_token": {
"type": "string"
},
"pid": {
"type": "integer"
},
"post_action_wait": {
"enum": [
"default",
"none"
],
"type": "string"
},
"session": {
"type": "string"
},
"window_id": {
"type": "integer"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
}
},
"drag": {
"properties": {
"button": {
"enum": [
"left",
"right",
"middle"
],
"type": "string"
},
"delivery_mode": {
"enum": [
"background",
"foreground"
],
"type": "string"
},
"duration_ms": {
"maximum": 10000,
"minimum": 0,
"type": "integer"
},
"from_x": {
"type": "number"
},
"from_y": {
"type": "number"
},
"from_zoom": {
"type": "boolean"
},
"modifier": {
"items": {
"type": "string"
},
"type": "array"
},
"pid": {
"type": "integer"
},
"post_action_wait": {
"enum": [
"default",
"none"
],
"type": "string"
},
"scope": {
"default": "window",
"enum": [
"window",
"desktop"
],
"type": "string"
},
"session": {
"type": "string"
},
"steps": {
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"target": {
"type": "object"
},
"to_x": {
"type": "number"
},
"to_y": {
"type": "number"
},
"window_id": {
"type": "integer"
}
},
"required": [
"from_x",
"from_y",
"to_x",
"to_y"
]
},
"end_session": {
"properties": {
"session": {
"type": "string"
}
}
},
"escalate_session": {
"properties": {
"detail": {
"maxLength": 200,
"type": "string"
},
"reason": {
"enum": [
"ax_tree_pixel_mismatch",
"background_delivery_failed",
"foreground_ineffective",
"no_window_target",
"other"
],
"type": "string"
},
"session": {
"type": "string"
}
},
"required": [
"session",
"reason"
]
},
"get_accessibility_tree": {
"properties": {
"session": {
"type": "string"
}
}
},
"get_agent_cursor_state": {
"properties": {
"session": {
"type": "string"
}
},
"required": [
"session"
]
},
"get_browser_state": {
"properties": {
"continuation": {
"type": "string"
},
"include_screenshot": {
"default": false,
"type": "boolean"
},
"pid": {
"type": "integer"
},
"query": {
"type": "string"
},
"scope_ref": {
"type": "string"
},
"session": {
"type": "string"
},
"snapshot_format": {
"enum": [
"dom_refs_v1",
"semantic_v2"
],
"type": "string"
},
"tab_id": {
"type": "string"
},
"target_id": {
"type": "string"
},
"window_id": {
"type": "integer"
}
}
},
"get_cursor_position": {
"properties": {
"session": {
"type": "string"
}
}
},
"get_desktop_state": {
"properties": {
"max_image_dimension": {
"minimum": 0,
"type": "integer"
},
"screenshot_out_file": {
"type": "string"
},
"session": {
"type": "string"
}
}
},
"get_screen_size": {
"properties": {
"session": {
"type": "string"
}
}
},
"get_session_state": {
"properties": {
"session": {
"type": "string"
}
}
},
"get_window_state": {
"properties": {
"capture_mode": {
"enum": [
"ax",
"vision"
],
"type": "string"
},
"display_only": {
"type": "boolean"
},
"full_output": {
"type": "boolean"
},
"include_accessibility_tree": {
"type": "boolean"
},
"include_screenshot": {
"type": "boolean"
},
"max_depth": {
"minimum": 1,
"type": "integer"
},
"max_dimension": {
"minimum": 1,
"type": "integer"
},
"max_elements": {
"minimum": 1,
"type": "integer"
},
"max_image_dimension": {
"minimum": 0,
"type": "integer"
},
"pid": {
"type": "integer"
},
"query": {
"type": "string"
},
"screenshot_format": {
"enum": [
"png",
"jpeg"
],
"type": "string"
},
"screenshot_out_file": {
"type": "string"
},
"screenshot_quality": {
"maximum": 95,
"minimum": 1,
"type": "integer"
},
"session": {
"type": "string"
},
"since": {
"type": "string"
},
"timeout_ms": {
"default": 1000,
"maximum": 120000,
"minimum": 100,
"type": "integer"
},
"tree_format": {
"enum": [
"markdown",
"elements",
"both"
],
"type": "string"
},
"verbose": {
"type": "boolean"
},
"window_id": {
"type": "integer"
}
},
"required": [
"pid",
"window_id"
]
},
"hotkey": {
"properties": {
"delivery_mode": {
"enum": [
"background",
"foreground"
],
"type": "string"
},
"element_token": {
"type": "string"
},
"keys": {
"items": {
"type": "string"
},
"minItems": 2,
"type": "array"
},
"pid": {
"type": "integer"
},
"post_action_wait": {
"enum": [
"default",
"none"
],
"type": "string"
},
"scope": {
"default": "window",
"enum": [
"window",
"desktop"
],
"type": "string"
},
"session": {
"type": "string"
},
"target": {
"type": "object"
},
"window_id": {
"type": "integer"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"keys"
]
},
"launch_app": {
"properties": {
"additional_arguments": {
"items": {
"type": "string"
},
"type": "array"
},
"bundle_id": {
"type": "string"
},
"creates_new_application_instance": {
"type": "boolean"
},
"name": {
"type": "string"
},
"session": {
"type": "string"
},
"urls": {
"items": {
"type": "string"
},
"type": "array"
},
"webkit_inspector_port": {
"type": "integer"
}
}
},
"list_apps": {
"properties": {
"session": {
"type": "string"
}
}
},
"list_windows": {
"properties": {
"app": {
"type": "string"
},
"on_screen_only": {
"type": "boolean"
},
"pid": {
"type": "integer"
},
"session": {
"type": "string"
}
}
},
"move_cursor": {
"properties": {
"cursor_id": {
"type": "string"
},
"delivery_mode": {
"enum": [
"background",
"foreground"
],
"type": "string"
},
"scope": {
"default": "window",
"enum": [
"window",
"desktop"
],
"type": "string"
},
"session": {
"type": "string"
},
"target": {
"type": "object"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"x",
"y"
]
},
"press_key": {
"properties": {
"delivery_mode": {
"enum": [
"background",
"foreground"
],
"type": "string"
},
"element_token": {
"type": "string"
},
"key": {
"type": "string"
},
"modifiers": {
"items": {
"type": "string"
},
"type": "array"
},
"pid": {
"type": "integer"
},
"post_action_wait": {
"enum": [
"default",
"none"
],
"type": "string"
},
"scope": {
"default": "window",
"enum": [
"window",
"desktop"
],
"type": "string"
},
"session": {
"type": "string"
},
"target": {
"type": "object"
},
"window_id": {
"type": "integer"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"key"
]
},
"right_click": {
"properties": {
"delivery_mode": {
"enum": [
"background",
"foreground"
],
"type": "string"
},
"element_token": {
"type": "string"
},
"modifier": {
"items": {
"type": "string"
},
"type": "array"
},
"pid": {
"type": "integer"
},
"post_action_wait": {
"enum": [
"default",
"none"
],
"type": "string"
},
"session": {
"type": "string"
},
"window_id": {
"type": "integer"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
}
},
"scroll": {
"properties": {
"amount": {
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"by": {
"enum": [
"line",
"page"
],
"type": "string"
},
"delivery_mode": {
"enum": [
"background",
"foreground"
],
"type": "string"
},
"direction": {
"enum": [
"up",
"down",
"left",
"right"
],
"type": "string"
},
"element_token": {
"type": "string"
},
"pid": {
"type": "integer"
},
"post_action_wait": {
"enum": [
"default",
"none"
],
"type": "string"
},
"scope": {
"default": "window",
"enum": [
"window",
"desktop"
],
"type": "string"
},
"session": {
"type": "string"
},
"target": {
"type": "object"
},
"window_id": {
"type": "integer"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"direction"
]
},
"set_agent_cursor_enabled": {
"properties": {
"enabled": {
"type": "boolean"
},
"session": {
"type": "string"
}
},
"required": [
"session",
"enabled"
]
},
"set_agent_cursor_motion": {
"properties": {
"arc_flow": {
"type": "number"
},
"arc_size": {
"type": "number"
},
"dwell_after_click_ms": {
"type": "number"
},
"effects": {
"type": "object"
},
"end_handle": {
"type": "number"
},
"glide_duration_ms": {
"type": "number"
},
"idle_hide_ms": {
"type": "number"
},
"session": {
"type": "string"
},
"spring": {
"type": "number"
},
"start_handle": {
"type": "number"
},
"style": {
"enum": [
"signature_arc",
"spring_settle",
"magnetic",
"comet_swoop",
"adaptive",
"classic"
],
"type": "string"
},
"timing": {
"enum": [
"native",
"fitts",
"fixed",
"relaxed",
"steady",
"calm",
"deliberate"
],
"type": "string"
},
"turn_radius": {
"type": "number"
}
},
"required": [
"session"
]
},
"set_value": {
"properties": {
"element_token": {
"type": "string"
},
"pid": {
"type": "integer"
},
"post_action_wait": {
"enum": [
"default",
"none"
],
"type": "string"
},
"session": {
"type": "string"
},
"value": {
"type": "string"
},
"window_id": {
"type": "integer"
}
},
"required": [
"value"
]
},
"start_session": {
"properties": {
"capture_scope": {
"enum": [
"auto",
"window",
"desktop"
],
"type": "string"
},
"cursor_motion": {
"type": "object"
},
"cursor_theme": {
"type": "object"
},
"session": {
"type": "string"
}
}
},
"type_text": {
"properties": {
"delay_ms": {
"maximum": 200,
"minimum": 0,
"type": "integer"
},
"delivery_mode": {
"enum": [
"background",
"foreground"
],
"type": "string"
},
"element_token": {
"type": "string"
},
"pid": {
"type": "integer"
},
"post_action_wait": {
"enum": [
"default",
"none"
],
"type": "string"
},
"scope": {
"default": "window",
"enum": [
"window",
"desktop"
],
"type": "string"
},
"session": {
"type": "string"
},
"target": {
"type": "object"
},
"text": {
"type": "string"
},
"window_id": {
"type": "integer"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"text"
]
},
"zoom": {
"properties": {
"pid": {
"type": "integer"
},
"session": {
"type": "string"
},
"window_id": {
"type": "integer"
},
"x1": {
"type": "number"
},
"x2": {
"type": "number"
},
"y1": {
"type": "number"
},
"y2": {
"type": "number"
}
},
"required": [
"window_id",
"x1",
"y1",
"x2",
"y2"
]
}
}
}