> ## Documentation Index
> Fetch the complete documentation index at: https://rendermate.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Sandboxes

> The MCP tools for sandboxes.

## `browser_click`

Click an element on a ready sandbox's page, by its ref from browser\_snapshot, or a point (x and y, in CSS pixels in the viewport), with the mouse on its screen. When the click opens another page, it answers once that has loaded, with the page's URL and title.

REST: [`POST /v1/sandboxes/{sandbox_id}/page/click`](https://rendermate.com/docs/api-reference/sandboxes/browser-click)

**button** `string`

`left`, `right` or `middle`; `left` when absent.

**double** `boolean`

A double click.

**ref** `integer`

The element to click, by its ref in the page's latest snapshot. It's scrolled into view and clicked in its middle.

**sandbox\_id** `string` *required*

The sandbox, `sbx_…`.

**x** `number`

Or the point to click, in CSS pixels from the left of the viewport.

**y** `number`

And from the top of the viewport.

## `browser_navigate`

Open a URL in a ready sandbox's browser, on its screen. It answers once the page has loaded (or after 30 seconds with what has loaded by then), with the page's URL and title. Read the page with browser\_snapshot.

REST: [`POST /v1/sandboxes/{sandbox_id}/page/navigate`](https://rendermate.com/docs/api-reference/sandboxes/browser-navigate)

**sandbox\_id** `string` *required*

The sandbox, `sbx_…`.

**url** `string` *required*

The URL to open, such as `https://example.com`. It answers once the page has loaded, or after 30 seconds with what has loaded by then.

## `browser_press_key`

Press a key on a ready sandbox's page, such as Enter, Tab, Escape, ArrowDown or PageDown, or a key with modifiers, such as Control+A or Shift+Tab. It answers with the page's URL and title.

REST: [`POST /v1/sandboxes/{sandbox_id}/page/press`](https://rendermate.com/docs/api-reference/sandboxes/browser-press-key)

**key** `string` *required*

The key, such as `Enter`, `Tab`, `Escape`, `Backspace`, `ArrowDown`, `PageDown` or `a`, with modifiers before it joined by `+`, such as `Control+A`, `Shift+Tab` or `Meta+L`.

**sandbox\_id** `string` *required*

The sandbox, `sbx_…`.

## `browser_scroll`

Scroll a ready sandbox's page with the mouse wheel by dx and dy CSS pixels (dy 800 scrolls down 800), or scroll the element with ref (from browser\_snapshot) into view. It answers with the page's URL and title.

REST: [`POST /v1/sandboxes/{sandbox_id}/page/scroll`](https://rendermate.com/docs/api-reference/sandboxes/browser-scroll)

**dx** `number`

CSS pixels to scroll right; negative scrolls left.

**dy** `number`

CSS pixels to scroll down; negative scrolls up.

**ref** `integer`

An element to scroll into view, by its ref in the page's latest snapshot. With dx or dy, the mouse wheel then turns over it, which scrolls what it's in; otherwise over the middle of the viewport.

**sandbox\_id** `string` *required*

The sandbox, `sbx_…`.

## `browser_snapshot`

Read the page on a ready sandbox's screen: its accessibility tree as an indented outline, one element a line, such as `- link "About" [ref=42]`. Give an element's ref to browser\_click, browser\_type or browser\_scroll. Refs last until the page changes: take a new snapshot after navigating.

REST: [`POST /v1/sandboxes/{sandbox_id}/page/snapshot`](https://rendermate.com/docs/api-reference/sandboxes/browser-snapshot) · read-only

**sandbox\_id** `string` *required*

The sandbox, `sbx_…`.

## `browser_type`

Type text on a ready sandbox's page: into the element with ref (from browser\_snapshot), which is clicked first, or into the focused one. With submit, it presses Enter after, such as to search. It answers with the page's URL and title.

REST: [`POST /v1/sandboxes/{sandbox_id}/page/type`](https://rendermate.com/docs/api-reference/sandboxes/browser-type)

**ref** `integer`

The element to type into, by its ref in the page's latest snapshot: it's clicked and focused first. The focused element when absent.

**sandbox\_id** `string` *required*

The sandbox, `sbx_…`.

**submit** `boolean`

Press Enter after the text, such as to submit a search.

**text** `string` *required*

The text to type.

## `get_recording`

Get a sandbox's recording: recording, done with the assets it made, or failed with why.

REST: [`GET /v1/sandboxes/{sandbox_id}/recordings/{recording_id}`](https://rendermate.com/docs/api-reference/sandboxes/get-recording) · read-only

**recording\_id** `string` *required*

The recording, `rec_…`.

**sandbox\_id** `string` *required*

The sandbox, `sbx_…`.

## `get_sandbox`

Get a sandbox: its state (starting, ready, stopping, stopped or failed) and, while it's ready, a fresh cdp\_url. While it's starting, it waits up to 45 seconds for it to be ready before answering, with wait over REST and always over MCP: if it's still starting, call again right away, with no pause.

REST: [`GET /v1/sandboxes/{sandbox_id}`](https://rendermate.com/docs/api-reference/sandboxes/get-sandbox) · read-only

**sandbox\_id** `string` *required*

The sandbox, `sbx_…`.

**wait** `boolean`

Answer once it's ready (or failed), waiting up to 45 seconds, instead of at once.

## `list_recordings`

List a sandbox's recordings, oldest first.

REST: [`GET /v1/sandboxes/{sandbox_id}/recordings`](https://rendermate.com/docs/api-reference/sandboxes/list-recordings) · read-only

**sandbox\_id** `string` *required*

The sandbox, `sbx_…`.

## `list_sandboxes`

List the workspace's sandboxes, newest first.

REST: [`GET /v1/sandboxes`](https://rendermate.com/docs/api-reference/sandboxes/list-sandboxes) · read-only

**after** `string`

The `next` of the previous page.

**limit** `integer`

Sandboxes per page, 1 to 100; 20 when absent.

## `start_recording`

Start recording a ready sandbox's screen, and its audio unless audio is false. Its files upload as assets while it records, in a folder of its own in the sandbox's folder. Stop it with stop\_recording; stopping the sandbox stops it too.

REST: [`POST /v1/sandboxes/{sandbox_id}/recordings`](https://rendermate.com/docs/api-reference/sandboxes/start-recording)

**audio** `boolean`

Record the browser's audio too, as its own file; true when absent.

**name** `string`

The folder in the sandbox's folder its files go in, such as `checkout-flow`; the recording's ID when absent.

**sandbox\_id** `string` *required*

The sandbox, `sbx_…`.

## `start_sandbox`

Start a sandbox: a browser on a GPU machine, for showing websites in videos. Drive it with Playwright (connectOverCDP), Puppeteer or any CDP client at its cdp\_url, which it has once it's ready. With wait, this answers once it's ready, waiting up to 45 seconds; otherwise call get\_sandbox until it is. Take screenshots with take\_screenshot and record it with start\_recording; their files land as assets in its folder. It stops itself after its timeout (an hour unless timeout says otherwise); stop it with stop\_sandbox when you're done. Its time is billed per second while it runs, at least a minute.

REST: [`POST /v1/sandboxes`](https://rendermate.com/docs/api-reference/sandboxes/start-sandbox)

**folder** `string`

The folder its recordings and screenshots go in, ending in `/`; `sandboxes/<id>/` when absent.

**project\_id** `string`

The project its recordings and screenshots go in; the workspace's default project when absent.

**timeout** `integer`

Seconds it runs before it stops itself, from 60 to 21600; 3600 (an hour) when absent.

**viewport** `object`

The browser window; 1920×1080 at scale 1 when absent.

**wait** `boolean`

Answer once it's ready (or failed), waiting up to 45 seconds, instead of at once.

## `stop_recording`

Stop a recording. It answers once its files have finished uploading, with the assets it made: the screen's video and, when it recorded audio, the browser's audio as its own file.

REST: [`POST /v1/sandboxes/{sandbox_id}/recordings/{recording_id}/stop`](https://rendermate.com/docs/api-reference/sandboxes/stop-recording)

**recording\_id** `string` *required*

The recording, `rec_…`.

**sandbox\_id** `string` *required*

The sandbox, `sbx_…`.

## `stop_sandbox`

Stop a sandbox. Recordings still recording finish uploading first. A stopped sandbox can't be started again.

REST: [`POST /v1/sandboxes/{sandbox_id}/stop`](https://rendermate.com/docs/api-reference/sandboxes/stop-sandbox) · destructive

**sandbox\_id** `string` *required*

The sandbox, `sbx_…`.

## `take_screenshot`

Take a screenshot of a ready sandbox's focused tab, and see it. It's saved as an asset in the sandbox's folder (under screenshots/ unless name says otherwise), so a document can use it.

REST: [`POST /v1/sandboxes/{sandbox_id}/screenshots`](https://rendermate.com/docs/api-reference/sandboxes/take-screenshot)

**format** `string`

`png`, `jpeg` or `webp`; `png` when absent.

**full\_page** `boolean`

The whole page rather than only what's in view.

**name** `string`

Its name in the sandbox's folder, such as `checkout.png`; `screenshots/<time>.<format>` when absent.

**sandbox\_id** `string` *required*

The sandbox, `sbx_…`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.