---
title: "Tool Execute"
method: POST
path: "/api/kiwi/tool-execute"
tags: ["Kiwi Agent"]
---

# Tool Execute

`POST /api/kiwi/tool-execute`

Execute a Kiwi tool on behalf of the agent.

Called by the bridge when Claude makes a tool call during chat.
Auth: X-Bridge-Service-Token (shared secret) + X-Bridge-User-Id (user context).
This avoids passing user JWTs between services (SOC2 compliant).

## Request body

- ToolExecuteRequest
  - `tool` string, required
  - `params` object
  - `user_id` string, nullable
  - `conversation_id` string, nullable
  - `allowed_connectors` string[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/qomplement/apis/fastapi.md) · [All operations](https://skmtc.net/qomplement/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qomplement/fastapi/revisions/718de1c0d866/schema)
