---
title: "Update tool configuration"
method: PATCH
path: "/scenarios/tools/{scenarioId}"
tags: ["Scenarios / Tools"]
---

# Update tool configuration

`PATCH /scenarios/tools/{scenarioId}`

Updates a tool configuration with a given scenario ID by passing new values in the request body. Any property that is not provided will be left unchanged. In the response, it returns all details of the updated tool configuration of the underlying scenario, including properties that were not changed.

## Path parameters

- `scenarioId` integer, required

## Query parameters

- `cols[]` string[]

## Request body

- object
  - `name` string — The name of the tool.
  - `description` string — A description of the tool.
  - `inputs` object[]
  - `module` object — The module of the tool. The module is a JSON object that contains the module ID, version, mapper, parameters, and metadata.

## Response `200`

Scenario was updated successfully

- object
  - `tool` object
    - `id` integer
    - `name` string
    - `description` string
    - `inputs` unknown[]
      - unknown
    - `teamId` integer
    - `module` object
      - `module` string
      - `version` integer
      - `mapper` object
      - `parameters` object
      - `metadata` object

---

[API](https://skmtc.dev/make/apis/web-api-v2-public.md) · [All operations](https://skmtc.dev/make/apis/web-api-v2-public/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/make/web-api-v2-public/revisions/531769e6f813/schema)
