---
title: "Move Web Tool to Collection."
method: POST
path: "/v1/voice-agents/collections/move"
---

# Move Web Tool to Collection.

`POST /v1/voice-agents/collections/move`

Moves a web tool into a collection or removes it from a collection (when collectionId is null).

## Request body

- MoveToolToCollectionRequest
  - `webToolId` string, uuid, required — UUID of the web tool to move.
  - `collectionId` string, uuid, nullable — UUID of the collection to move the tool to. Set to null to remove from collection.

## Response `200`

Successful response

- MoveToolToCollectionResponse
  - `success` boolean
  - `message` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `500` — Server Side Error

---

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