---
title: "Update Custom Tool"
method: PUT
path: "/agents/tools/{tool_id}"
tags: ["custom-tools"]
---

# Update Custom Tool

`PUT /agents/tools/{tool_id}`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/agents/tools/{tool_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Update a custom tool.

## Path parameters

- `tool_id` string, uuid, required

## Request body

- CustomToolUpdate: Update a custom tool.
  - `display_name` string, nullable
  - `description` string, nullable
  - `http_method` string, nullable
  - `url_template` string, nullable
  - `headers` object, nullable
  - `body_template` object, nullable
  - `auth_type` string, nullable
  - `auth_secret` string, nullable
  - `parameters_schema` object, nullable
  - `response_path` string, nullable
  - `timeout_seconds` integer, nullable
  - `allowed_domains` string[], nullable
  - `is_active` boolean, nullable

## Response `200`

Successful Response

- CustomToolResponse: Custom tool response.
  - `name` string, required
  - `display_name` string, required
  - `description` string, required
  - `http_method` string, required
  - `url_template` string, required
  - `headers` object
  - `body_template` object, nullable
  - `auth_type` string
  - `parameters_schema` object
  - `response_path` string, nullable
  - `timeout_seconds` integer
  - `allowed_domains` string[]
  - `id` string, uuid, required
  - `space_id` string, uuid, required
  - `created_by` string, uuid, required
  - `is_active` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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