---
title: "Create a new tool"
method: POST
path: "/v1/{organization}/tool/"
tags: ["Tool"]
---

# Create a new tool

`POST /v1/{organization}/tool/`

Create a new tool. The tool will not contain any versions initially so is not usable until at least one version is published.

#### Permissions
This endpoint requires the following permissions:
* `Tool:CreateTool` for the tool to create.

## Path parameters

- `organization` string, required

## Headers

- `x-mongo-cluster-name` string, nullable — The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
- `Sec-WebSocket-Protocol` string[]

## Request body

- SrcAppEndpointsToolCreateToolRequest
  - `name` string, required
  - `description` string, required
  - `tags` object, required — The tags of this tool.

## Response `201`

Succeeded.

- SrcAppEndpointsToolCreateToolResponse
  - `id` string, required — The ID of the tool.

## Other responses

- `400` — The tool name is too long.
- `401` — Invalid authorization credentials.
- `403` — Missing required permissions.
- `404` — The specified organization does not exist.
- `409` — A tool with the same name already exists.
- `422` — Invalid request path parameter or request body failed validation.
- `429` — The user has exceeded the rate limit of 20 requests per minute for this endpoint.
- `503` — The service is going through temporary maintenance.

---

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