---
title: "Register client tool"
method: POST
path: "/client-tool"
---

# Register client tool

`POST /client-tool`

Register a new client tool that requires external execution.

## Query parameters

- `directory` string
- `workspace` string

## Request body

- object
  - `id` string, required
  - `description` string, required
  - `parameters` object, required

## Response `200`

Tool registered successfully

- boolean

## Other responses

- `400` — Bad request

---

[API](https://skmtc.net/kaaass/apis/opencode.md) · [All operations](https://skmtc.net/kaaass/apis/opencode/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kaaass/opencode/revisions/8bb9a15bd144/schema)
