---
title: "Toggle a tool enabled/disabled state"
method: POST
path: "/api/v1/mcp-servers/{serverId}/tools/{toolId}/toggle"
tags: ["mcp-servers"]
---

# Toggle a tool enabled/disabled state

`POST /api/v1/mcp-servers/{serverId}/tools/{toolId}/toggle`

## Path parameters

- `serverId` string, required
- `toolId` string, required

## Response `200`

- McpToolResponseDto
  - `id` string, required
  - `toolName` string, required
  - `description` string, nullable, required
  - `inputSchema` object, nullable, required
  - `serverId` string, required
  - `serverName` string, required
  - `enabled` boolean, required
  - `discoveredAt` string, date-time, required

## Changes

- **2026-02-03** `1c925b8c211d` — 2 breaking, 4 info
  - the response property `description` became nullable for the status `200`
  - the response property `inputSchema` became nullable for the status `200`
  - the response property `description` became required for the status `200`
  - the response property `inputSchema` became required for the status `200`
  - …2 more
- **2026-02-02** `0c1badf65004` — 1 info
  - endpoint added
- **2026-02-02** `321c48cce199` — 1 breaking
  - api path removed without deprecation
- **2026-02-02** `0c1badf65004` — 1 info
  - endpoint added
- **2025-10-24** `8db531c050e5` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/shipsecai/apis/shipsec-studio-api/changes/api/v1/mcp-servers/:serverId/tools/:toolId/toggle/post.md)

---

[API](https://skmtc.dev/shipsecai/apis/shipsec-studio-api.md) · [All operations](https://skmtc.dev/shipsecai/apis/shipsec-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/shipsecai/shipsec-studio-api/revisions/cc60562ad9f3/schema)
