---
title: "Execute Webmcp Tool Endpoint"
method: POST
path: "/v1/embed/webmcp/exec"
tags: ["embed v1"]
---

# Execute Webmcp Tool Endpoint

`POST /v1/embed/webmcp/exec`

## Request

- Base URL: `https://api.branchly.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.branchly.io/v1/embed/webmcp/exec`
- Auth: none declared

## Headers

- `x-api-key` string, nullable

## Request body

- WebMCPExecRequest
  - `application_id` string, uuid, required
  - `session_id` string, uuid, required
  - `tool_name` string, required
  - `args` object
  - `locale` string, required
  - `browser_locale` string, nullable
  - `embed_type` 'chat' | 'search' | 'chat_widget' | 'search_interface' | 'voice' | 'api' | 'form', required

## Response `200`

Successful Response

- WebMCPExecResponse
  - `result` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/branchly/apis/branchly-io-api.md) · [All operations](https://skmtc.dev/branchly/apis/branchly-io-api/llms.txt) · [OpenAPI document](https://skmtc.dev/branchly/apis/branchly-io-api/revisions/9ffb024f8ec8?raw)
