---
title: "Execute JavaScript in the browser"
method: POST
path: "/v1/browser/evaluate"
tags: ["Browser"]
---

# Execute JavaScript in the browser

`POST /v1/browser/evaluate`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/browser/evaluate`
- Auth: HTTP bearer

## Request body

- object
  - `expression` string, required

## Response `200`

Evaluation result

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
