---
title: "PATCH /api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/mcpServers/{mcpServerUuid}/tools"
method: PATCH
path: "/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/mcpServers/{mcpServerUuid}/tools"
---

# PATCH /api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/mcpServers/{mcpServerUuid}/tools

`PATCH /api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/mcpServers/{mcpServerUuid}/tools`

## Path parameters

- `projectUuid` string, required
- `agentUuid` string, required
- `mcpServerUuid` string, required

## Request body

- ApiUpdateAiAgentMcpServerToolsRequest
  - `toolSettings` AiAgentMcpServerToolUpdate[], required
    - `toolName` string, required
    - `enabled` boolean, required

## Response `200`

Success

- ApiAiAgentMcpServerToolListResponse
  - `results` AiAgentMcpServerTool[], required
    - `updatedAt` string, date-time, required
    - `createdAt` string, date-time, required
    - `meta` unknown, required
    - `annotations` unknown, required
    - `inputSchema` unknown, required
    - `description` string, nullable, required
    - `title` string, nullable, required
    - `toolName` string, required
    - `mcpServerUuid` string, required
    - `uuid` string, required
    - `enabled` boolean, required
    - `agentUuid` string, required
  - `status` 'ok', required

## Other responses

- `default` — Error

---

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