---
title: "Simulate a mouse click action on the browser instance"
method: POST
path: "/browsers/{id}/computer/click_mouse"
tags: ["Browser Computer Controls"]
---

# Simulate a mouse click action on the browser instance

`POST /browsers/{id}/computer/click_mouse`

## Path parameters

- `id` string, required

## Request body

- ClickMouseRequest
  - `button` 'left' | 'right' | 'middle' | 'back' | 'forward' — Mouse button to interact with
  - `click_type` 'down' | 'up' | 'click' — Type of click action
  - `x` integer, required — X coordinate of the click position
  - `y` integer, required — Y coordinate of the click position
  - `hold_keys` string[] — Modifier keys to hold during the click
  - `num_clicks` integer — Number of times to repeat the click

## Response `200`

Mouse action performed

## Other responses

- `400` — Bad Request – invalid input
- `404` — Resource not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/kernel/apis/kernel-api.md) · [All operations](https://skmtc.net/kernel/apis/kernel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kernel/kernel-api/versions/9e8ce9fcf5e1/schema)
