---
title: "Update Tool"
method: PUT
path: "/api/v1/tools/{tool_id}"
tags: ["tools"]
---

# Update Tool

`PUT /api/v1/tools/{tool_id}`

## Request

- Base URL: `https://api.gnosari.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gnosari.com/api/v1/tools/{tool_id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-AUTH-TOKEN`

Update a tool.

## Path parameters

- `tool_id` integer, required

## Request body

- ToolUpdate
  - `name` string, nullable
  - `description` string, nullable
  - `config` object, nullable
  - `identifier` string, nullable
  - `module` string, nullable
  - `class_name` string, nullable
  - `url` string, nullable
  - `command` string, nullable
  - `connection_type` string, nullable
  - `args` union
    - object
    - unknown[]
      - unknown
  - `headers` object, nullable
  - `timeout` integer, nullable

## Response `200`

Successful Response

- Tool
  - `name` string, required
  - `description` string, nullable
  - `config` object, nullable
  - `identifier` string, nullable
  - `module` string, nullable
  - `class_name` string, nullable
  - `url` string, nullable
  - `command` string, nullable
  - `connection_type` string, nullable
  - `args` union
    - object
    - unknown[]
      - unknown
  - `headers` object, nullable
  - `timeout` integer, nullable
  - `id` integer, required
  - `account_id` integer, required
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gnosari/apis/gnosari-api.md) · [All operations](https://skmtc.dev/gnosari/apis/gnosari-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gnosari/apis/gnosari-api/revisions/f299cf53ae5f?raw)
